#9E1845#9E1845
#9E1845 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.9% C 0.168 H 8.3°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1845 |
|---|---|
| RGB | rgb(158, 24, 69) |
| HSL | hsl(340, 74%, 36%) |
| HSV | hsv(340, 85%, 62%) |
| CMYK | cmyk(0%, 84.8%, 56.3%, 38%) |
| CIE-LAB | lab(34.71, 54.61, 9.57) |
| CIE-LCH | lch(34.71, 55.44, 9.94°) |
| OKLab | oklab(45.89% 0.1663 0.0243) |
| OKLCH | oklch(45.89% 0.168 8.3) |
| XYZ | xyz(15.5029, 8.3543, 6.4253) |
| Luminance | 0.0835 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 2.79
Raspberry (survey)
#B00149
ΔE00 3.20
Purple Red
#990147
ΔE00 3.21
Purplish Red
#B0054B
ΔE00 3.25
Berry
#990F4B
ΔE00 3.38
Red Wine
#8C0034
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1845 #189E71
analogous
#9E1888 #9E1845 #9E2E18
triadic
#9E1845 #459E18 #18459E
tetradic
#9E1845 #889E18 #189E71 #2E189E
square
#9E1845 #889E18 #189E71 #2E189E
split-complementary
#9E1845 #189E2E #18889E
monochromatic
#340817 #69102E #9E1845 #D3205C #E44D7F
Accessibility & contrast
On white
7.86
#9E1845 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#9E1845 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1845
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1845 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1845 | 1.00 | 7.86 | 2.67 | 7.86 |
| #FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F4146
Deuteranopia (green-blind)
#615B42
Tritanopia (blue-blind)
#AD002D
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9e1845; /* rgb */ color: rgb(158, 24, 69); /* oklch */ color: oklch(45.9% 0.168 8.3);
Tailwind
colors: {
custom: {
50: '#c16678',
500: '#9e1845',
950: '#000000',
},
}SCSS
$custom: #9e1845; $custom-light: #c16678; $custom-dark: #000000;
JSON
{
"hex": "#9e1845",
"rgb": {
"r": 158,
"g": 24,
"b": 69
},
"hsl": {
"h": 339.851,
"s": 73.626,
"l": 35.686
},
"oklch": {
"l": 0.45889,
"c": 0.16803,
"h": 8.3
},
"luminance": 0.08352
}Semantic roles & 50–950 ramp
primary
#9E1845
secondary
#4CC69D
accent
#F0B238
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B