#9E1B4B#9E1B4B
#9E1B4B is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.2% C 0.167 H 5.6°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1B4B |
|---|---|
| RGB | rgb(158, 27, 75) |
| HSL | hsl(338, 71%, 36%) |
| HSV | hsv(338, 83%, 62%) |
| CMYK | cmyk(0%, 82.9%, 52.5%, 38%) |
| CIE-LAB | lab(35.13, 54.33, 6.25) |
| CIE-LCH | lch(35.13, 54.69, 6.56°) |
| OKLab | oklab(46.25% 0.1661 0.0163) |
| OKLCH | oklch(46.25% 0.167 5.6) |
| XYZ | xyz(15.7639, 8.5632, 7.4780) |
| Luminance | 0.0856 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.19
Purple Red
#990147
ΔE00 2.53
Purplish Red
#B0054B
ΔE00 3.43
Violet Red
#A50055
ΔE00 3.59
Raspberry (survey)
#B00149
ΔE00 3.62
Cranberry
#9E003A
ΔE00 4.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1B4B #1B9E6E
analogous
#9E1B8D #9E1B4B #9E2C1B
triadic
#9E1B4B #4B9E1B #1B4B9E
tetradic
#9E1B4B #8D9E1B #1B9E6E #2C1B9E
square
#9E1B4B #8D9E1B #1B9E6E #2C1B9E
split-complementary
#9E1B4B #1B9E2C #1B8D9E
monochromatic
#350919 #6A1232 #9E1B4B #D22464 #E15287
Accessibility & contrast
On white
7.74
#9E1B4B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#9E1B4B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1B4B
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1B4B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1B4B | 1.00 | 7.74 | 2.71 | 7.74 |
| #FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F424C
Deuteranopia (green-blind)
#615C48
Tritanopia (blue-blind)
#AD0031
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9e1b4b; /* rgb */ color: rgb(158, 27, 75); /* oklch */ color: oklch(46.2% 0.167 5.6);
Tailwind
colors: {
custom: {
50: '#c1677d',
500: '#9e1b4b',
950: '#000000',
},
}SCSS
$custom: #9e1b4b; $custom-light: #c1677d; $custom-dark: #000000;
JSON
{
"hex": "#9e1b4b",
"rgb": {
"r": 158,
"g": 27,
"b": 75
},
"hsl": {
"h": 338.015,
"s": 70.811,
"l": 36.275
},
"oklch": {
"l": 0.46248,
"c": 0.16694,
"h": 5.6
},
"luminance": 0.08561
}Semantic roles & 50–950 ramp
primary
#9E1B4B
secondary
#51C49A
accent
#EEAC3A
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B