#9E1B86#9E1B86
#9E1B86 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.7% C 0.195 H 337.2°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1B86 |
|---|---|
| RGB | rgb(158, 27, 134) |
| HSL | hsl(311, 71%, 36%) |
| HSV | hsv(311, 83%, 62%) |
| CMYK | cmyk(0%, 82.9%, 15.2%, 38%) |
| CIE-LAB | lab(37.44, 60.97, -27.74) |
| CIE-LCH | lch(37.44, 66.99, 335.53°) |
| OKLab | oklab(48.67% 0.1802 -0.0756) |
| OKLCH | oklch(48.67% 0.195 337.2) |
| XYZ | xyz(18.7960, 9.7760, 23.4467) |
| Luminance | 0.0977 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.22
Barney Purple
#A00498
ΔE00 3.74
Darkmagenta
#8B008B
ΔE00 5.70
Red Violet
#9E0168
ΔE00 6.34
Purple
#800080
ΔE00 7.24
Light Eggplant
#894585
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1B86 #1B9E33
analogous
#751B9E #9E1B86 #9E1B45
triadic
#9E1B86 #869E1B #1B869E
tetradic
#9E1B86 #9E751B #1B9E33 #1B459E
square
#9E1B86 #9E751B #1B9E33 #1B459E
split-complementary
#9E1B86 #459E1B #1B9E75
monochromatic
#35092D #6A125A #9E1B86 #D224B2 #E152C7
Accessibility & contrast
On white
7.11
#9E1B86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#9E1B86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1B86
7.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1B86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1B86 | 1.00 | 7.11 | 2.95 | 7.11 |
| #FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#204C89
Deuteranopia (green-blind)
#505F83
Tritanopia (blue-blind)
#A72551
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9e1b86; /* rgb */ color: rgb(158, 27, 134); /* oklch */ color: oklch(48.7% 0.195 337.2);
Tailwind
colors: {
custom: {
50: '#bf69a9',
500: '#9e1b86',
950: '#000000',
},
}SCSS
$custom: #9e1b86; $custom-light: #bf69a9; $custom-dark: #000000;
JSON
{
"hex": "#9e1b86",
"rgb": {
"r": 158,
"g": 27,
"b": 134
},
"hsl": {
"h": 310.992,
"s": 70.811,
"l": 36.275
},
"oklch": {
"l": 0.48674,
"c": 0.19541,
"h": 337.2
},
"luminance": 0.09774
}Semantic roles & 50–950 ramp
primary
#9E1B86
secondary
#51C466
accent
#EE5B3A
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F