#9E1582#9E1582
#9E1582 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 48.1% C 0.197 H 338.8°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1582 |
|---|---|
| RGB | rgb(158, 21, 130) |
| HSL | hsl(312, 77%, 35%) |
| HSV | hsv(312, 87%, 62%) |
| CMYK | cmyk(0%, 86.7%, 17.7%, 38%) |
| CIE-LAB | lab(36.78, 61.74, -26.30) |
| CIE-LCH | lch(36.78, 67.11, 336.93°) |
| OKLab | oklab(48.14% 0.1839 -0.0714) |
| OKLCH | oklch(48.14% 0.197 338.8) |
| XYZ | xyz(18.3985, 9.4190, 21.9639) |
| Luminance | 0.0942 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.01
Barney Purple
#A00498
ΔE00 4.30
Red Violet
#9E0168
ΔE00 5.54
Darkmagenta
#8B008B
ΔE00 5.83
Purple
#800080
ΔE00 7.17
Light Eggplant
#894585
ΔE00 7.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1582 #159E31
analogous
#76159E #9E1582 #9E153D
triadic
#9E1582 #829E15 #15829E
tetradic
#9E1582 #9E7615 #159E31 #153D9E
square
#9E1582 #9E7615 #159E31 #153D9E
split-complementary
#9E1582 #3D9E15 #159E76
monochromatic
#320729 #680E56 #9E1582 #D41CAE #E747C6
Accessibility & contrast
On white
7.28
#9E1582 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#9E1582 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1582
7.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1582 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1582 | 1.00 | 7.28 | 2.88 | 7.28 |
| #FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#204985
Deuteranopia (green-blind)
#505E7F
Tritanopia (blue-blind)
#A71E4D
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9e1582; /* rgb */ color: rgb(158, 21, 130); /* oklch */ color: oklch(48.1% 0.197 338.8);
Tailwind
colors: {
custom: {
50: '#bf68a6',
500: '#9e1582',
950: '#000000',
},
}SCSS
$custom: #9e1582; $custom-light: #bf68a6; $custom-dark: #000000;
JSON
{
"hex": "#9e1582",
"rgb": {
"r": 158,
"g": 21,
"b": 130
},
"hsl": {
"h": 312.263,
"s": 76.536,
"l": 35.098
},
"oklch": {
"l": 0.48137,
"c": 0.19727,
"h": 338.8
},
"luminance": 0.09417
}Semantic roles & 50–950 ramp
primary
#9E1582
secondary
#47C762
accent
#F35C35
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F