#9E197D#9E197D
#9E197D is a mid, vivid pink. Relative luminance 0.094; OKLCH L 48.1% C 0.191 H 341.0°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).
Color values
| HEX | #9E197D |
|---|---|
| RGB | rgb(158, 25, 125) |
| HSL | hsl(315, 73%, 36%) |
| HSV | hsv(315, 84%, 62%) |
| CMYK | cmyk(0%, 84.2%, 20.9%, 38%) |
| CIE-LAB | lab(36.83, 60.21, -23.10) |
| CIE-LCH | lch(36.83, 64.49, 339.01°) |
| OKLab | oklab(48.1% 0.1808 -0.0623) |
| OKLCH | oklch(48.1% 0.191 341) |
| XYZ | xyz(18.1505, 9.4470, 20.2656) |
| Luminance | 0.0945 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.53
Warm Purple
#952E8F
ΔE00 4.77
Barney Purple
#A00498
ΔE00 5.47
Darkmagenta
#8B008B
ΔE00 6.81
Deep Magenta
#A0025C
ΔE00 7.59
Light Eggplant
#894585
ΔE00 7.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E197D #199E3A
analogous
#7C199E #9E197D #9E193A
triadic
#9E197D #7D9E19 #197D9E
tetradic
#9E197D #9E7C19 #199E3A #193A9E
square
#9E197D #9E7C19 #199E3A #193A9E
split-complementary
#9E197D #3A9E19 #199E7C
monochromatic
#340829 #691153 #9E197D #D321A7 #E34EBE
Accessibility & contrast
On white
7.27
#9E197D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#9E197D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E197D
7.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E197D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E197D | 1.00 | 7.27 | 2.89 | 7.27 |
| #FFFFFF | 7.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#27497F
Deuteranopia (green-blind)
#535E7A
Tritanopia (blue-blind)
#A81D4B
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9e197d; /* rgb */ color: rgb(158, 25, 125); /* oklch */ color: oklch(48.1% 0.191 341.0);
Tailwind
colors: {
custom: {
50: '#bf68a3',
500: '#9e197d',
950: '#000000',
},
}SCSS
$custom: #9e197d; $custom-light: #bf68a3; $custom-dark: #000000;
JSON
{
"hex": "#9e197d",
"rgb": {
"r": 158,
"g": 25,
"b": 125
},
"hsl": {
"h": 314.887,
"s": 72.678,
"l": 35.882
},
"oklch": {
"l": 0.48095,
"c": 0.1912,
"h": 341
},
"luminance": 0.09445
}Semantic roles & 50–950 ramp
primary
#9E197D
secondary
#4EC56B
accent
#EF6638
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13070F
muted
#827A7F