#9E197F#9E197F
#9E197F is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.2% C 0.192 H 340.1°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).
Color values
| HEX | #9E197F |
|---|---|
| RGB | rgb(158, 25, 127) |
| HSL | hsl(314, 73%, 36%) |
| HSV | hsv(314, 84%, 62%) |
| CMYK | cmyk(0%, 84.2%, 19.6%, 38%) |
| CIE-LAB | lab(36.93, 60.48, -24.20) |
| CIE-LCH | lch(36.93, 65.14, 338.19°) |
| OKLab | oklab(48.2% 0.181 -0.0654) |
| OKLCH | oklch(48.2% 0.192 340.1) |
| XYZ | xyz(18.2795, 9.4986, 20.9453) |
| Luminance | 0.0950 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.40
Red Violet
#9E0168
ΔE00 4.94
Barney Purple
#A00498
ΔE00 5.06
Darkmagenta
#8B008B
ΔE00 6.50
Light Eggplant
#894585
ΔE00 7.66
Purple
#800080
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E197F #199E38
analogous
#7A199E #9E197F #9E193C
triadic
#9E197F #7F9E19 #197F9E
tetradic
#9E197F #9E7A19 #199E38 #193C9E
square
#9E197F #9E7A19 #199E38 #193C9E
split-complementary
#9E197F #3C9E19 #199E7A
monochromatic
#34082A #691155 #9E197F #D321A9 #E34EC0
Accessibility & contrast
On white
7.24
#9E197F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#9E197F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E197F
7.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E197F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E197F | 1.00 | 7.24 | 2.90 | 7.24 |
| #FFFFFF | 7.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#254A82
Deuteranopia (green-blind)
#535E7C
Tritanopia (blue-blind)
#A81F4C
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9e197f; /* rgb */ color: rgb(158, 25, 127); /* oklch */ color: oklch(48.2% 0.192 340.1);
Tailwind
colors: {
custom: {
50: '#bf69a4',
500: '#9e197f',
950: '#000000',
},
}SCSS
$custom: #9e197f; $custom-light: #bf69a4; $custom-dark: #000000;
JSON
{
"hex": "#9e197f",
"rgb": {
"r": 158,
"g": 25,
"b": 127
},
"hsl": {
"h": 313.985,
"s": 72.678,
"l": 35.882
},
"oklch": {
"l": 0.48195,
"c": 0.19246,
"h": 340.1
},
"luminance": 0.09497
}Semantic roles & 50–950 ramp
primary
#9E197F
secondary
#4EC569
accent
#EF6338
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F