#9E1B85#9E1B85
#9E1B85 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.6% C 0.195 H 337.7°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1B85 |
|---|---|
| RGB | rgb(158, 27, 133) |
| HSL | hsl(311, 71%, 36%) |
| HSV | hsv(311, 83%, 62%) |
| CMYK | cmyk(0%, 82.9%, 15.8%, 38%) |
| CIE-LAB | lab(37.39, 60.83, -27.20) |
| CIE-LCH | lch(37.39, 66.64, 335.90°) |
| OKLab | oklab(48.62% 0.1801 -0.074) |
| OKLCH | oklch(48.62% 0.195 337.7) |
| XYZ | xyz(18.7266, 9.7483, 23.0811) |
| Luminance | 0.0975 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.36
Barney Purple
#A00498
ΔE00 3.93
Darkmagenta
#8B008B
ΔE00 5.82
Red Violet
#9E0168
ΔE00 6.15
Purple
#800080
ΔE00 7.30
Light Eggplant
#894585
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1B85 #1B9E34
analogous
#761B9E #9E1B85 #9E1B44
triadic
#9E1B85 #859E1B #1B859E
tetradic
#9E1B85 #9E761B #1B9E34 #1B449E
square
#9E1B85 #9E761B #1B9E34 #1B449E
split-complementary
#9E1B85 #449E1B #1B9E76
monochromatic
#35092D #6A1259 #9E1B85 #D224B1 #E152C6
Accessibility & contrast
On white
7.12
#9E1B85 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#9E1B85 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1B85
7.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1B85 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1B85 | 1.00 | 7.12 | 2.95 | 7.12 |
| #FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#214B88
Deuteranopia (green-blind)
#515F82
Tritanopia (blue-blind)
#A72450
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9e1b85; /* rgb */ color: rgb(158, 27, 133); /* oklch */ color: oklch(48.6% 0.195 337.7);
Tailwind
colors: {
custom: {
50: '#bf69a9',
500: '#9e1b85',
950: '#000000',
},
}SCSS
$custom: #9e1b85; $custom-light: #bf69a9; $custom-dark: #000000;
JSON
{
"hex": "#9e1b85",
"rgb": {
"r": 158,
"g": 27,
"b": 133
},
"hsl": {
"h": 311.45,
"s": 70.811,
"l": 36.275
},
"oklch": {
"l": 0.48621,
"c": 0.19475,
"h": 337.7
},
"luminance": 0.09746
}Semantic roles & 50–950 ramp
primary
#9E1B85
secondary
#51C467
accent
#EE5C3A
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F