#9E1917#9E1917
#9E1917 is a mid, vivid red. Relative luminance 0.080; OKLCH L 45.2% C 0.168 H 27.8°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1917 |
|---|---|
| RGB | rgb(158, 25, 23) |
| HSL | hsl(1, 75%, 35%) |
| HSV | hsv(1, 85%, 62%) |
| CMYK | cmyk(0%, 84.2%, 85.4%, 38%) |
| CIE-LAB | lab(34.04, 52.11, 37.38) |
| CIE-LCH | lch(34.04, 64.13, 35.66°) |
| OKLab | oklab(45.15% 0.1485 0.0783) |
| OKLCH | oklch(45.15% 0.168 27.8) |
| XYZ | xyz(14.6047, 8.0286, 1.5912) |
| Luminance | 0.0803 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Carmine
#9D0216
ΔE00 2.22
Darkish Red
#A90308
ΔE00 3.14
Blood Red
#980002
ΔE00 3.58
Deep Red
#9A0200
ΔE00 3.80
Brown
#A52A2A
ΔE00 4.16
Firebrick
#B22222
ΔE00 4.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1917 #179C9E
analogous
#9E1758 #9E1917 #9E5C17
triadic
#9E1917 #179E19 #19179E
tetradic
#9E1917 #589E17 #179C9E #5C179E
square
#9E1917 #589E17 #179C9E #5C179E
split-complementary
#9E1917 #179E5C #17589E
monochromatic
#330807 #69110F #9E1917 #D3211F #E54D4B
Accessibility & contrast
On white
8.06
#9E1917 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#9E1917 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1917
8.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1917 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1917 | 1.00 | 8.06 | 2.61 | 8.06 |
| #FFFFFF | 8.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#463E14
Deuteranopia (green-blind)
#665A0F
Tritanopia (blue-blind)
#AF001B
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #9e1917; /* rgb */ color: rgb(158, 25, 23); /* oklch */ color: oklch(45.2% 0.168 27.8);
Tailwind
colors: {
custom: {
50: '#c46556',
500: '#9e1917',
950: '#000000',
},
}SCSS
$custom: #9e1917; $custom-light: #c46556; $custom-dark: #000000;
JSON
{
"hex": "#9e1917",
"rgb": {
"r": 158,
"g": 25,
"b": 23
},
"hsl": {
"h": 0.889,
"s": 74.586,
"l": 35.49
},
"oklch": {
"l": 0.45154,
"c": 0.16785,
"h": 27.8
},
"luminance": 0.08026
}Semantic roles & 50–950 ramp
primary
#9E1917
secondary
#4AC4C6
accent
#EEF137
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150603
muted
#837A78