#9E197E#9E197E
#9E197E is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.1% C 0.192 H 340.5°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #9E197E |
|---|---|
| RGB | rgb(158, 25, 126) |
| HSL | hsl(314, 73%, 36%) |
| HSV | hsv(314, 84%, 62%) |
| CMYK | cmyk(0%, 84.2%, 20.3%, 38%) |
| CIE-LAB | lab(36.88, 60.34, -23.65) |
| CIE-LCH | lch(36.88, 64.81, 338.60°) |
| OKLab | oklab(48.15% 0.1809 -0.0639) |
| OKLCH | oklch(48.15% 0.192 340.5) |
| XYZ | xyz(18.2147, 9.4726, 20.6038) |
| Luminance | 0.0947 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.58
Red Violet
#9E0168
ΔE00 4.73
Barney Purple
#A00498
ΔE00 5.26
Darkmagenta
#8B008B
ΔE00 6.65
Light Eggplant
#894585
ΔE00 7.71
Purple
#800080
ΔE00 7.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E197E #199E39
analogous
#7B199E #9E197E #9E193B
triadic
#9E197E #7E9E19 #197E9E
tetradic
#9E197E #9E7B19 #199E39 #193B9E
square
#9E197E #9E7B19 #199E39 #193B9E
split-complementary
#9E197E #3B9E19 #199E7B
monochromatic
#34082A #691154 #9E197E #D321A8 #E34EBF
Accessibility & contrast
On white
7.26
#9E197E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#9E197E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E197E
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E197E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E197E | 1.00 | 7.26 | 2.89 | 7.26 |
| #FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#264981
Deuteranopia (green-blind)
#535E7B
Tritanopia (blue-blind)
#A81E4C
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9e197e; /* rgb */ color: rgb(158, 25, 126); /* oklch */ color: oklch(48.1% 0.192 340.5);
Tailwind
colors: {
custom: {
50: '#bf69a3',
500: '#9e197e',
950: '#000000',
},
}SCSS
$custom: #9e197e; $custom-light: #bf69a3; $custom-dark: #000000;
JSON
{
"hex": "#9e197e",
"rgb": {
"r": 158,
"g": 25,
"b": 126
},
"hsl": {
"h": 314.436,
"s": 72.678,
"l": 35.882
},
"oklch": {
"l": 0.48145,
"c": 0.19182,
"h": 340.5
},
"luminance": 0.09471
}Semantic roles & 50–950 ramp
primary
#9E197E
secondary
#4EC56A
accent
#EF6438
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F