#9E1887#9E1887
#9E1887 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.6% C 0.198 H 336.8°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1887 |
|---|---|
| RGB | rgb(158, 24, 135) |
| HSL | hsl(310, 74%, 36%) |
| HSV | hsv(310, 85%, 62%) |
| CMYK | cmyk(0%, 84.8%, 14.6%, 38%) |
| CIE-LAB | lab(37.25, 61.80, -28.66) |
| CIE-LCH | lch(37.25, 68.12, 335.12°) |
| OKLab | oklab(48.56% 0.1824 -0.0782) |
| OKLCH | oklch(48.56% 0.198 336.8) |
| XYZ | xyz(18.8008, 9.6735, 23.7940) |
| Luminance | 0.0967 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.20
Barney Purple
#A00498
ΔE00 3.41
Darkmagenta
#8B008B
ΔE00 5.39
Red Violet
#9E0168
ΔE00 6.53
Purple
#800080
ΔE00 6.99
Light Eggplant
#894585
ΔE00 7.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1887 #189E2F
analogous
#72189E #9E1887 #9E1844
triadic
#9E1887 #879E18 #18879E
tetradic
#9E1887 #9E7218 #189E2F #18449E
square
#9E1887 #9E7218 #189E2F #18449E
split-complementary
#9E1887 #449E18 #189E72
monochromatic
#34082C #69105A #9E1887 #D320B4 #E44DCA
Accessibility & contrast
On white
7.16
#9E1887 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#9E1887 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1887
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1887 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1887 | 1.00 | 7.16 | 2.93 | 7.16 |
| #FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D4B8A
Deuteranopia (green-blind)
#4F5F84
Tritanopia (blue-blind)
#A72451
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9e1887; /* rgb */ color: rgb(158, 24, 135); /* oklch */ color: oklch(48.6% 0.198 336.8);
Tailwind
colors: {
custom: {
50: '#bf69aa',
500: '#9e1887',
950: '#000000',
},
}SCSS
$custom: #9e1887; $custom-light: #bf69aa; $custom-dark: #000000;
JSON
{
"hex": "#9e1887",
"rgb": {
"r": 158,
"g": 24,
"b": 135
},
"hsl": {
"h": 310.299,
"s": 73.626,
"l": 35.686
},
"oklch": {
"l": 0.48556,
"c": 0.1984,
"h": 336.8
},
"luminance": 0.09672
}Semantic roles & 50–950 ramp
primary
#9E1887
secondary
#4CC661
accent
#F05738
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F