Nearest named color · #A03562
#A03562
Nearest named color: Royal Flush
#A03562 (rgb(160 53 98), hsl(335 50% 42%), oklch(0.497 0.147 358)) is closest to the named color Royal Flush. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#A03562
oklch(0.497 0.147 358)
Color conversions
- HEX
- #a03562
- RGB
- rgb(160 53 98)
- HSL
- hsl(335 50% 42%)
- HWB
- hwb(335 21% 37%)
- OKLCH
- oklch(0.497 0.147 358)
- OKLab
- oklab(0.497 0.147 -0.005)
- CIE Lab
- lab(39.77 47.71 -1.33)
- LCH
- lch(39.77 47.73 358.4)
- CMYK
- cmyk(0% 67% 39% 37%)
Tints · Shades · Tones
Tints
- AB4B70
- B65F7F
- C1738E
- CB879E
- D59AAD
- DEAEBD
- E7C2CD
- EFD6DE
- F7EAEE
Shades
- 8B2D54
- 762547
- 611D3A
- 4E152D
- 3B0E21
- 290816
- 19030B
- 090103
- 010000
Tones
- 9E3F65
- 9C4868
- 9A506B
- 97576E
- 945F71
- 916674
- 8E6D77
- 89737A
- 857A7D
Color harmonies
Complementary +180°
- A03562
Royal Flush
- 007362
≈ Northern Hemisphere
Analogous -30° +30°
- A03562
Royal Flush
- 8D3D8C
≈ Dahlia
- A6372F
≈ Sweet Brown
Triadic +120° +240°
- A03562
Royal Flush
- 5D6A00
≈ Mud Green
- 006A99
≈ Hydra
Split-complementary +150° +210°
- A03562
Royal Flush
- 00772D
≈ La Salle Green
- 006F7C
≈ Iridescent Peacock
Tetradic +90° +180° +270°
Contrast & accessibility
Ag
AAOn white
WCAG 6.60:1 · APCA Lc 82
Ag
FailOn black
WCAG 3.18:1 · APCA Lc 20
Best text color: #FFFFFF
WCAG 6.60:1 (AA) · APCA Lc 82
Contrast pairs
Code snippets
CSS
:root {
--royal-flush: #a03562;
--royal-flush-rgb: 160 53 98;
--royal-flush-oklch: oklch(0.497 0.147 358);
}
.element {
color: var(--royal-flush);
background-color: hsl(335 50% 42%);
border-color: oklch(0.497 0.147 358);
}Tailwind CSS v4
@theme {
--color-royal-flush: #a03562;
--color-royal-flush-50: #ffe4f3;
--color-royal-flush-100: #ffd4e6;
--color-royal-flush-200: #ffbad2;
--color-royal-flush-300: #f597b4;
--color-royal-flush-400: #e2769e;
--color-royal-flush-500: #cf5586;
--color-royal-flush-600: #af4971;
--color-royal-flush-700: #8d3a5a;
--color-royal-flush-800: #682944;
--color-royal-flush-900: #491c2f;
--color-royal-flush-950: #300b1b;
}SCSS
$royal-flush: #a03562;
$royal-flush-rgb: 160, 53, 98;
$royal-flush-light: mix(#fff, $royal-flush, 20%);
$royal-flush-dark: mix(#000, $royal-flush, 20%);
.element {
color: $royal-flush;
box-shadow: 0 0 0 2px rgba($royal-flush, 0.35);
}