#9E1580#9E1580
#9E1580 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 48.0% C 0.196 H 339.6°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1580 |
|---|---|
| RGB | rgb(158, 21, 128) |
| HSL | hsl(313, 77%, 35%) |
| HSV | hsv(313, 87%, 62%) |
| CMYK | cmyk(0%, 86.7%, 19%, 38%) |
| CIE-LAB | lab(36.68, 61.47, -25.21) |
| CIE-LCH | lch(36.68, 66.44, 337.70°) |
| OKLab | oklab(48.03% 0.1837 -0.0683) |
| OKLCH | oklch(48.03% 0.196 339.6) |
| XYZ | xyz(18.2656, 9.3659, 21.2637) |
| Luminance | 0.0936 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.32
Barney Purple
#A00498
ΔE00 4.71
Red Violet
#9E0168
ΔE00 5.14
Darkmagenta
#8B008B
ΔE00 6.12
Purple
#800080
ΔE00 7.35
Light Eggplant
#894585
ΔE00 7.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1580 #159E33
analogous
#78159E #9E1580 #9E153B
triadic
#9E1580 #809E15 #15809E
tetradic
#9E1580 #9E7815 #159E33 #153B9E
square
#9E1580 #9E7815 #159E33 #153B9E
split-complementary
#9E1580 #3B9E15 #159E78
monochromatic
#320728 #680E54 #9E1580 #D41CAC #E747C4
Accessibility & contrast
On white
7.31
#9E1580 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#9E1580 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1580
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1580 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1580 | 1.00 | 7.31 | 2.87 | 7.31 |
| #FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#224983
Deuteranopia (green-blind)
#515E7D
Tritanopia (blue-blind)
#A81D4C
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9e1580; /* rgb */ color: rgb(158, 21, 128); /* oklch */ color: oklch(48.0% 0.196 339.6);
Tailwind
colors: {
custom: {
50: '#bf68a5',
500: '#9e1580',
950: '#000000',
},
}SCSS
$custom: #9e1580; $custom-light: #bf68a5; $custom-dark: #000000;
JSON
{
"hex": "#9e1580",
"rgb": {
"r": 158,
"g": 21,
"b": 128
},
"hsl": {
"h": 313.139,
"s": 76.536,
"l": 35.098
},
"oklch": {
"l": 0.48033,
"c": 0.196,
"h": 339.6
},
"luminance": 0.09364
}Semantic roles & 50–950 ramp
primary
#9E1580
secondary
#47C763
accent
#F35E35
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F