#9E1945#9E1945
#9E1945 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.0% C 0.167 H 8.5°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1945 |
|---|---|
| RGB | rgb(158, 25, 69) |
| HSL | hsl(340, 73%, 36%) |
| HSV | hsv(340, 84%, 62%) |
| CMYK | cmyk(0%, 84.2%, 56.3%, 38%) |
| CIE-LAB | lab(34.80, 54.37, 9.68) |
| CIE-LCH | lch(34.80, 55.22, 10.10°) |
| OKLab | oklab(45.95% 0.1655 0.0246) |
| OKLCH | oklch(45.95% 0.167 8.5) |
| XYZ | xyz(15.5239, 8.3963, 6.4323) |
| Luminance | 0.0839 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 2.78
Raspberry (survey)
#B00149
ΔE00 3.19
Purplish Red
#B0054B
ΔE00 3.25
Purple Red
#990147
ΔE00 3.32
Berry
#990F4B
ΔE00 3.48
Red Wine
#8C0034
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1945 #199E72
analogous
#9E1987 #9E1945 #9E2F19
triadic
#9E1945 #459E19 #19459E
tetradic
#9E1945 #879E19 #199E72 #2F199E
square
#9E1945 #879E19 #199E72 #2F199E
split-complementary
#9E1945 #199E2F #19879E
monochromatic
#340817 #69112E #9E1945 #D3215C #E34E80
Accessibility & contrast
On white
7.84
#9E1945 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#9E1945 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1945
7.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1945 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1945 | 1.00 | 7.84 | 2.68 | 7.84 |
| #FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.84 | 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: #9e1945; /* rgb */ color: rgb(158, 25, 69); /* oklch */ color: oklch(46.0% 0.167 8.5);
Tailwind
colors: {
custom: {
50: '#c16678',
500: '#9e1945',
950: '#000000',
},
}SCSS
$custom: #9e1945; $custom-light: #c16678; $custom-dark: #000000;
JSON
{
"hex": "#9e1945",
"rgb": {
"r": 158,
"g": 25,
"b": 69
},
"hsl": {
"h": 340.15,
"s": 72.678,
"l": 35.882
},
"oklch": {
"l": 0.45952,
"c": 0.1673,
"h": 8.5
},
"luminance": 0.08394
}Semantic roles & 50–950 ramp
primary
#9E1945
secondary
#4EC59E
accent
#EFB338
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B