#9E1886#9E1886
#9E1886 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.5% C 0.198 H 337.2°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1886 |
|---|---|
| RGB | rgb(158, 24, 134) |
| HSL | hsl(311, 74%, 36%) |
| HSV | hsv(311, 85%, 62%) |
| CMYK | cmyk(0%, 84.8%, 15.2%, 38%) |
| CIE-LAB | lab(37.20, 61.66, -28.12) |
| CIE-LCH | lch(37.20, 67.77, 335.49°) |
| OKLab | oklab(48.5% 0.1823 -0.0766) |
| OKLCH | oklch(48.5% 0.198 337.2) |
| XYZ | xyz(18.7307, 9.6455, 23.4249) |
| Luminance | 0.0964 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.33
Barney Purple
#A00498
ΔE00 3.60
Darkmagenta
#8B008B
ΔE00 5.50
Red Violet
#9E0168
ΔE00 6.34
Purple
#800080
ΔE00 7.05
Light Eggplant
#894585
ΔE00 7.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1886 #189E30
analogous
#73189E #9E1886 #9E1843
triadic
#9E1886 #869E18 #18869E
tetradic
#9E1886 #9E7318 #189E30 #18439E
square
#9E1886 #9E7318 #189E30 #18439E
split-complementary
#9E1886 #439E18 #189E73
monochromatic
#34082C #691059 #9E1886 #D320B3 #E44DC9
Accessibility & contrast
On white
7.17
#9E1886 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#9E1886 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1886
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1886 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1886 | 1.00 | 7.17 | 2.93 | 7.17 |
| #FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E4B89
Deuteranopia (green-blind)
#4F5F83
Tritanopia (blue-blind)
#A72350
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9e1886; /* rgb */ color: rgb(158, 24, 134); /* oklch */ color: oklch(48.5% 0.198 337.2);
Tailwind
colors: {
custom: {
50: '#bf69a9',
500: '#9e1886',
950: '#000000',
},
}SCSS
$custom: #9e1886; $custom-light: #bf69a9; $custom-dark: #000000;
JSON
{
"hex": "#9e1886",
"rgb": {
"r": 158,
"g": 24,
"b": 134
},
"hsl": {
"h": 310.746,
"s": 73.626,
"l": 35.686
},
"oklch": {
"l": 0.48503,
"c": 0.19774,
"h": 337.2
},
"luminance": 0.09644
}Semantic roles & 50–950 ramp
primary
#9E1886
secondary
#4CC662
accent
#F05938
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F