#9E1828#9E1828
#9E1828 is a mid, vivid red. Relative luminance 0.081; OKLCH L 45.3% C 0.167 H 21.9°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1828 |
|---|---|
| RGB | rgb(158, 24, 40) |
| HSL | hsl(353, 74%, 36%) |
| HSV | hsv(353, 85%, 62%) |
| CMYK | cmyk(0%, 84.8%, 74.7%, 38%) |
| CIE-LAB | lab(34.14, 52.93, 27.52) |
| CIE-LCH | lch(34.14, 59.65, 27.47°) |
| OKLab | oklab(45.29% 0.1548 0.0623) |
| OKLCH | oklch(45.29% 0.167 21.9) |
| XYZ | xyz(14.8120, 8.0780, 2.7864) |
| Luminance | 0.0808 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 3.75
Carmine
#9D0216
ΔE00 4.19
Rouge
#AB1239
ΔE00 5.25
Firebrick
#B22222
ΔE00 6.17
Crimson (survey)
#8C000F
ΔE00 6.23
Lipstick Red
#C0022F
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1828 #189E8E
analogous
#9E186B #9E1828 #9E4B18
triadic
#9E1828 #289E18 #18289E
tetradic
#9E1828 #6B9E18 #189E8E #4B189E
square
#9E1828 #6B9E18 #189E8E #4B189E
split-complementary
#9E1828 #189E4B #186B9E
monochromatic
#34080D #69101B #9E1828 #D32035 #E44D5F
Accessibility & contrast
On white
8.03
#9E1828 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#9E1828 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1828
8.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1828 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1828 | 1.00 | 8.03 | 2.62 | 8.03 |
| #FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#443E27
Deuteranopia (green-blind)
#645A23
Tritanopia (blue-blind)
#AE0020
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #9e1828; /* rgb */ color: rgb(158, 24, 40); /* oklch */ color: oklch(45.3% 0.167 21.9);
Tailwind
colors: {
custom: {
50: '#c36562',
500: '#9e1828',
950: '#000000',
},
}SCSS
$custom: #9e1828; $custom-light: #c36562; $custom-dark: #000000;
JSON
{
"hex": "#9e1828",
"rgb": {
"r": 158,
"g": 24,
"b": 40
},
"hsl": {
"h": 352.836,
"s": 73.626,
"l": 35.686
},
"oklch": {
"l": 0.4529,
"c": 0.16684,
"h": 21.9
},
"luminance": 0.08076
}Semantic roles & 50–950 ramp
primary
#9E1828
secondary
#4CC6B7
accent
#F0DA38
background
#FDF6F5
surface
#FAEBEA
border
#D3C6C6
text
#140605
muted
#837A79