#9E1937#9E1937
#9E1937 is a mid, vivid red. Relative luminance 0.082; OKLCH L 45.6% C 0.166 H 15.4°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1937 |
|---|---|
| RGB | rgb(158, 25, 55) |
| HSL | hsl(346, 73%, 36%) |
| HSV | hsv(346, 84%, 62%) |
| CMYK | cmyk(0%, 84.2%, 65.2%, 38%) |
| CIE-LAB | lab(34.48, 53.44, 18.37) |
| CIE-LCH | lch(34.48, 56.51, 18.97°) |
| OKLab | oklab(45.62% 0.1599 0.0442) |
| OKLCH | oklch(45.62% 0.166 15.4) |
| XYZ | xyz(15.1394, 8.2425, 4.4075) |
| Luminance | 0.0824 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 2.40
Cranberry
#9E003A
ΔE00 2.96
Red Wine
#8C0034
ΔE00 5.36
Raspberry (survey)
#B00149
ΔE00 5.69
Rose Red
#BE013C
ΔE00 5.88
Purplish Red
#B0054B
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1937 #199E80
analogous
#9E1979 #9E1937 #9E3D19
triadic
#9E1937 #379E19 #19379E
tetradic
#9E1937 #799E19 #199E80 #3D199E
square
#9E1937 #799E19 #199E80 #3D199E
split-complementary
#9E1937 #199E3D #19799E
monochromatic
#340812 #691125 #9E1937 #D32149 #E34E70
Accessibility & contrast
On white
7.93
#9E1937 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#9E1937 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1937
7.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1937 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1937 | 1.00 | 7.93 | 2.65 | 7.93 |
| #FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#424037
Deuteranopia (green-blind)
#635B33
Tritanopia (blue-blind)
#AE0027
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9e1937; /* rgb */ color: rgb(158, 25, 55); /* oklch */ color: oklch(45.6% 0.166 15.4);
Tailwind
colors: {
custom: {
50: '#c2666d',
500: '#9e1937',
950: '#000000',
},
}SCSS
$custom: #9e1937; $custom-light: #c2666d; $custom-dark: #000000;
JSON
{
"hex": "#9e1937",
"rgb": {
"r": 158,
"g": 25,
"b": 55
},
"hsl": {
"h": 346.466,
"s": 72.678,
"l": 35.882
},
"oklch": {
"l": 0.45621,
"c": 0.16586,
"h": 15.4
},
"luminance": 0.0824
}Semantic roles & 50–950 ramp
primary
#9E1937
secondary
#4EC5AA
accent
#EFC638
background
#FCF6F6
surface
#F9EBEB
border
#D2C6C6
text
#140707
muted
#827A7A