#9E1841#9E1841
#9E1841 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.8% C 0.167 H 10.4°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1841 |
|---|---|
| RGB | rgb(158, 24, 65) |
| HSL | hsl(342, 74%, 36%) |
| HSV | hsv(342, 85%, 62%) |
| CMYK | cmyk(0%, 84.8%, 58.9%, 38%) |
| CIE-LAB | lab(34.61, 54.32, 12.04) |
| CIE-LCH | lch(34.61, 55.64, 12.50°) |
| OKLab | oklab(45.79% 0.1647 0.0301) |
| OKLCH | oklch(45.79% 0.167 10.4) |
| XYZ | xyz(15.3829, 8.3063, 5.7933) |
| Luminance | 0.0830 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 1.87
Raspberry (survey)
#B00149
ΔE00 3.44
Purplish Red
#B0054B
ΔE00 3.66
Purple Red
#990147
ΔE00 4.26
Rouge
#AB1239
ΔE00 4.41
Red Wine
#8C0034
ΔE00 4.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1841 #189E75
analogous
#9E1884 #9E1841 #9E3218
triadic
#9E1841 #419E18 #18419E
tetradic
#9E1841 #849E18 #189E75 #32189E
square
#9E1841 #849E18 #189E75 #32189E
split-complementary
#9E1841 #189E32 #18849E
monochromatic
#340815 #69102B #9E1841 #D32057 #E44D7B
Accessibility & contrast
On white
7.89
#9E1841 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#9E1841 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1841
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1841 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1841 | 1.00 | 7.89 | 2.66 | 7.89 |
| #FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#404042
Deuteranopia (green-blind)
#625B3E
Tritanopia (blue-blind)
#AD002B
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9e1841; /* rgb */ color: rgb(158, 24, 65); /* oklch */ color: oklch(45.8% 0.167 10.4);
Tailwind
colors: {
custom: {
50: '#c26675',
500: '#9e1841',
950: '#000000',
},
}SCSS
$custom: #9e1841; $custom-light: #c26675; $custom-dark: #000000;
JSON
{
"hex": "#9e1841",
"rgb": {
"r": 158,
"g": 24,
"b": 65
},
"hsl": {
"h": 341.642,
"s": 73.626,
"l": 35.686
},
"oklch": {
"l": 0.45786,
"c": 0.16742,
"h": 10.4
},
"luminance": 0.08304
}Semantic roles & 50–950 ramp
primary
#9E1841
secondary
#4CC6A1
accent
#F0B838
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B