#9E197A#9E197A
#9E197A is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.9% C 0.189 H 342.3°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #9E197A |
|---|---|
| RGB | rgb(158, 25, 122) |
| HSL | hsl(316, 73%, 36%) |
| HSV | hsv(316, 84%, 62%) |
| CMYK | cmyk(0%, 84.2%, 22.8%, 38%) |
| CIE-LAB | lab(36.69, 59.82, -21.45) |
| CIE-LCH | lch(36.69, 63.54, 340.27°) |
| OKLab | oklab(47.95% 0.1804 -0.0576) |
| OKLCH | oklch(47.95% 0.189 342.3) |
| XYZ | xyz(17.9617, 9.3715, 19.2715) |
| Luminance | 0.0937 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.92
Warm Purple
#952E8F
ΔE00 5.34
Barney Purple
#A00498
ΔE00 6.11
Deep Magenta
#A0025C
ΔE00 6.95
Darkmagenta
#8B008B
ΔE00 7.31
Dark Fuchsia
#9D0759
ΔE00 7.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E197A #199E3D
analogous
#7F199E #9E197A #9E1937
triadic
#9E197A #7A9E19 #197A9E
tetradic
#9E197A #9E7F19 #199E3D #19379E
square
#9E197A #9E7F19 #199E3D #19379E
split-complementary
#9E197A #379E19 #199E7F
monochromatic
#340828 #691151 #9E197A #D321A3 #E34EBB
Accessibility & contrast
On white
7.31
#9E197A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#9E197A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E197A
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E197A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E197A | 1.00 | 7.31 | 2.87 | 7.31 |
| #FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#29497C
Deuteranopia (green-blind)
#545E77
Tritanopia (blue-blind)
#A81B49
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9e197a; /* rgb */ color: rgb(158, 25, 122); /* oklch */ color: oklch(47.9% 0.189 342.3);
Tailwind
colors: {
custom: {
50: '#bf68a0',
500: '#9e197a',
950: '#000000',
},
}SCSS
$custom: #9e197a; $custom-light: #bf68a0; $custom-dark: #000000;
JSON
{
"hex": "#9e197a",
"rgb": {
"r": 158,
"g": 25,
"b": 122
},
"hsl": {
"h": 316.241,
"s": 72.678,
"l": 35.882
},
"oklch": {
"l": 0.47947,
"c": 0.18935,
"h": 342.3
},
"luminance": 0.0937
}Semantic roles & 50–950 ramp
primary
#9E197A
secondary
#4EC56E
accent
#EF6A38
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070F
muted
#827A7E