#9E1940#9E1940
#9E1940 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.8% C 0.167 H 11.0°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1940 |
|---|---|
| RGB | rgb(158, 25, 64) |
| HSL | hsl(342, 73%, 36%) |
| HSV | hsv(342, 84%, 62%) |
| CMYK | cmyk(0%, 84.2%, 59.5%, 38%) |
| CIE-LAB | lab(34.67, 54.01, 12.78) |
| CIE-LCH | lch(34.67, 55.50, 13.31°) |
| OKLab | oklab(45.82% 0.1635 0.0318) |
| OKLCH | oklch(45.82% 0.167 11) |
| XYZ | xyz(15.3752, 8.3368, 5.6491) |
| Luminance | 0.0833 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 1.78
Raspberry (survey)
#B00149
ΔE00 3.61
Purplish Red
#B0054B
ΔE00 3.86
Rouge
#AB1239
ΔE00 4.06
Red Wine
#8C0034
ΔE00 4.52
Purple Red
#990147
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1940 #199E77
analogous
#9E1982 #9E1940 #9E3419
triadic
#9E1940 #409E19 #19409E
tetradic
#9E1940 #829E19 #199E77 #34199E
square
#9E1940 #829E19 #199E77 #34199E
split-complementary
#9E1940 #199E34 #19829E
monochromatic
#340815 #69112B #9E1940 #D32155 #E34E7A
Accessibility & contrast
On white
7.87
#9E1940 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#9E1940 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1940
7.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1940 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1940 | 1.00 | 7.87 | 2.67 | 7.87 |
| #FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#404041
Deuteranopia (green-blind)
#625B3D
Tritanopia (blue-blind)
#AD002B
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9e1940; /* rgb */ color: rgb(158, 25, 64); /* oklch */ color: oklch(45.8% 0.167 11.0);
Tailwind
colors: {
custom: {
50: '#c26674',
500: '#9e1940',
950: '#000000',
},
}SCSS
$custom: #9e1940; $custom-light: #c26674; $custom-dark: #000000;
JSON
{
"hex": "#9e1940",
"rgb": {
"r": 158,
"g": 25,
"b": 64
},
"hsl": {
"h": 342.406,
"s": 72.678,
"l": 35.882
},
"oklch": {
"l": 0.45824,
"c": 0.16656,
"h": 11
},
"luminance": 0.08335
}Semantic roles & 50–950 ramp
primary
#9E1940
secondary
#4EC5A2
accent
#EFBA38
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B