#9E1584#9E1584
#9E1584 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.2% C 0.199 H 338.0°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1584 |
|---|---|
| RGB | rgb(158, 21, 132) |
| HSL | hsl(311, 77%, 35%) |
| HSV | hsv(311, 87%, 62%) |
| CMYK | cmyk(0%, 86.7%, 16.5%, 38%) |
| CIE-LAB | lab(36.88, 62.01, -27.38) |
| CIE-LCH | lch(36.88, 67.79, 336.18°) |
| OKLab | oklab(48.24% 0.184 -0.0745) |
| OKLCH | oklch(48.24% 0.199 338) |
| XYZ | xyz(18.5340, 9.4733, 22.6778) |
| Luminance | 0.0947 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.71
Barney Purple
#A00498
ΔE00 3.90
Darkmagenta
#8B008B
ΔE00 5.57
Red Violet
#9E0168
ΔE00 5.95
Purple
#800080
ΔE00 7.01
Light Eggplant
#894585
ΔE00 7.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1584 #159E2F
analogous
#74159E #9E1584 #9E153F
triadic
#9E1584 #849E15 #15849E
tetradic
#9E1584 #9E7415 #159E2F #153F9E
square
#9E1584 #9E7415 #159E2F #153F9E
split-complementary
#9E1584 #3F9E15 #159E74
monochromatic
#32072A #680E57 #9E1584 #D41CB1 #E747C8
Accessibility & contrast
On white
7.26
#9E1584 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#9E1584 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1584
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1584 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1584 | 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)
#1E4A87
Deuteranopia (green-blind)
#505E81
Tritanopia (blue-blind)
#A7204E
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9e1584; /* rgb */ color: rgb(158, 21, 132); /* oklch */ color: oklch(48.2% 0.199 338.0);
Tailwind
colors: {
custom: {
50: '#bf68a8',
500: '#9e1584',
950: '#000000',
},
}SCSS
$custom: #9e1584; $custom-light: #bf68a8; $custom-dark: #000000;
JSON
{
"hex": "#9e1584",
"rgb": {
"r": 158,
"g": 21,
"b": 132
},
"hsl": {
"h": 311.387,
"s": 76.536,
"l": 35.098
},
"oklch": {
"l": 0.48242,
"c": 0.19855,
"h": 338
},
"luminance": 0.09471
}Semantic roles & 50–950 ramp
primary
#9E1584
secondary
#47C760
accent
#F35935
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F