#9E1B4E#9E1B4E
#9E1B4E is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.3% C 0.168 H 4.0°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1B4E |
|---|---|
| RGB | rgb(158, 27, 78) |
| HSL | hsl(337, 71%, 36%) |
| HSV | hsv(337, 83%, 62%) |
| CMYK | cmyk(0%, 82.9%, 50.6%, 38%) |
| CIE-LAB | lab(35.21, 54.58, 4.42) |
| CIE-LCH | lch(35.21, 54.76, 4.63°) |
| OKLab | oklab(46.34% 0.1673 0.0118) |
| OKLCH | oklch(46.34% 0.168 4) |
| XYZ | xyz(15.8691, 8.6053, 8.0316) |
| Luminance | 0.0860 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 1.77
Purple Red
#990147
ΔE00 2.44
Violet Red
#A50055
ΔE00 2.81
Purplish Red
#B0054B
ΔE00 3.86
Mulberry
#920A4E
ΔE00 4.04
Raspberry (survey)
#B00149
ΔE00 4.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1B4E #1B9E6B
analogous
#9E1B90 #9E1B4E #9E291B
triadic
#9E1B4E #4E9E1B #1B4E9E
tetradic
#9E1B4E #909E1B #1B9E6B #291B9E
square
#9E1B4E #909E1B #1B9E6B #291B9E
split-complementary
#9E1B4E #1B9E29 #1B909E
monochromatic
#35091A #6A1234 #9E1B4E #D22468 #E1528A
Accessibility & contrast
On white
7.72
#9E1B4E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#9E1B4E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1B4E
7.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1B4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1B4E | 1.00 | 7.72 | 2.72 | 7.72 |
| #FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E434F
Deuteranopia (green-blind)
#605C4B
Tritanopia (blue-blind)
#AC0032
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9e1b4e; /* rgb */ color: rgb(158, 27, 78); /* oklch */ color: oklch(46.3% 0.168 4.0);
Tailwind
colors: {
custom: {
50: '#c1677f',
500: '#9e1b4e',
950: '#000000',
},
}SCSS
$custom: #9e1b4e; $custom-light: #c1677f; $custom-dark: #000000;
JSON
{
"hex": "#9e1b4e",
"rgb": {
"r": 158,
"g": 27,
"b": 78
},
"hsl": {
"h": 336.641,
"s": 70.811,
"l": 36.275
},
"oklch": {
"l": 0.46337,
"c": 0.16768,
"h": 4
},
"luminance": 0.08603
}Semantic roles & 50–950 ramp
primary
#9E1B4E
secondary
#51C497
accent
#EEA83A
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C