#9E1B3F#9E1B3F
#9E1B3F is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.9% C 0.165 H 11.8°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1B3F |
|---|---|
| RGB | rgb(158, 27, 63) |
| HSL | hsl(344, 71%, 36%) |
| HSV | hsv(344, 83%, 62%) |
| CMYK | cmyk(0%, 82.9%, 60.1%, 38%) |
| CIE-LAB | lab(34.83, 53.43, 13.64) |
| CIE-LCH | lch(34.83, 55.14, 14.32°) |
| OKLab | oklab(45.93% 0.1615 0.0338) |
| OKLCH | oklch(45.93% 0.165 11.8) |
| XYZ | xyz(15.3913, 8.4142, 5.5153) |
| Luminance | 0.0841 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 1.89
Rouge
#AB1239
ΔE00 3.65
Raspberry (survey)
#B00149
ΔE00 3.88
Purplish Red
#B0054B
ΔE00 4.16
Red Wine
#8C0034
ΔE00 4.69
Purple Red
#990147
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1B3F #1B9E7A
analogous
#9E1B81 #9E1B3F #9E381B
triadic
#9E1B3F #3F9E1B #1B3F9E
tetradic
#9E1B3F #819E1B #1B9E7A #381B9E
square
#9E1B3F #819E1B #1B9E7A #381B9E
split-complementary
#9E1B3F #1B9E38 #1B819E
monochromatic
#350915 #6A122A #9E1B3F #D22454 #E15279
Accessibility & contrast
On white
7.83
#9E1B3F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#9E1B3F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1B3F
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1B3F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1B3F | 1.00 | 7.83 | 2.68 | 7.83 |
| #FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#41413F
Deuteranopia (green-blind)
#635B3C
Tritanopia (blue-blind)
#AD002B
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9e1b3f; /* rgb */ color: rgb(158, 27, 63); /* oklch */ color: oklch(45.9% 0.165 11.8);
Tailwind
colors: {
custom: {
50: '#c26773',
500: '#9e1b3f',
950: '#000000',
},
}SCSS
$custom: #9e1b3f; $custom-light: #c26773; $custom-dark: #000000;
JSON
{
"hex": "#9e1b3f",
"rgb": {
"r": 158,
"g": 27,
"b": 63
},
"hsl": {
"h": 343.511,
"s": 70.811,
"l": 36.275
},
"oklch": {
"l": 0.45932,
"c": 0.16495,
"h": 11.8
},
"luminance": 0.08412
}Semantic roles & 50–950 ramp
primary
#9E1B3F
secondary
#51C4A4
accent
#EEBC3A
background
#FCF6F6
surface
#F9EBEC
border
#D2C6C7
text
#140708
muted
#827A7B