#9E1840#9E1840
#9E1840 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.8% C 0.167 H 10.9°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1840 |
|---|---|
| RGB | rgb(158, 24, 64) |
| HSL | hsl(342, 74%, 36%) |
| HSV | hsv(342, 85%, 62%) |
| CMYK | cmyk(0%, 84.8%, 59.5%, 38%) |
| CIE-LAB | lab(34.59, 54.25, 12.66) |
| CIE-LCH | lch(34.59, 55.71, 13.14°) |
| OKLab | oklab(45.76% 0.1643 0.0315) |
| OKLCH | oklch(45.76% 0.167 10.9) |
| XYZ | xyz(15.3542, 8.2949, 5.6421) |
| Luminance | 0.0829 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 1.72
Raspberry (survey)
#B00149
ΔE00 3.58
Purplish Red
#B0054B
ΔE00 3.83
Rouge
#AB1239
ΔE00 4.14
Red Wine
#8C0034
ΔE00 4.46
Purple Red
#990147
ΔE00 4.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1840 #189E76
analogous
#9E1883 #9E1840 #9E3318
triadic
#9E1840 #409E18 #18409E
tetradic
#9E1840 #839E18 #189E76 #33189E
square
#9E1840 #839E18 #189E76 #33189E
split-complementary
#9E1840 #189E33 #18839E
monochromatic
#340815 #69102A #9E1840 #D32056 #E44D7A
Accessibility & contrast
On white
7.90
#9E1840 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#9E1840 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1840
7.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1840 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1840 | 1.00 | 7.90 | 2.66 | 7.90 |
| #FFFFFF | 7.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#404041
Deuteranopia (green-blind)
#625B3D
Tritanopia (blue-blind)
#AD002A
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9e1840; /* rgb */ color: rgb(158, 24, 64); /* oklch */ color: oklch(45.8% 0.167 10.9);
Tailwind
colors: {
custom: {
50: '#c26674',
500: '#9e1840',
950: '#000000',
},
}SCSS
$custom: #9e1840; $custom-light: #c26674; $custom-dark: #000000;
JSON
{
"hex": "#9e1840",
"rgb": {
"r": 158,
"g": 24,
"b": 64
},
"hsl": {
"h": 342.09,
"s": 73.626,
"l": 35.686
},
"oklch": {
"l": 0.45761,
"c": 0.16729,
"h": 10.9
},
"luminance": 0.08293
}Semantic roles & 50–950 ramp
primary
#9E1840
secondary
#4CC6A1
accent
#F0B938
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B