#9E1417#9E1417
#9E1417 is a dark, vivid red. Relative luminance 0.078; OKLCH L 44.9% C 0.171 H 27.0°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1417 |
|---|---|
| RGB | rgb(158, 20, 23) |
| HSL | hsl(359, 78%, 35%) |
| HSV | hsv(359, 87%, 62%) |
| CMYK | cmyk(0%, 87.3%, 85.4%, 38%) |
| CIE-LAB | lab(33.63, 53.27, 37.01) |
| CIE-LCH | lch(33.63, 64.87, 34.79°) |
| OKLab | oklab(44.85% 0.1521 0.0774) |
| OKLCH | oklch(44.85% 0.171 27) |
| XYZ | xyz(14.5072, 7.8337, 1.5587) |
| Luminance | 0.0783 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Carmine
#9D0216
ΔE00 1.54
Darkish Red
#A90308
ΔE00 3.46
Blood Red
#980002
ΔE00 3.71
Deep Red
#9A0200
ΔE00 4.03
Crimson (survey)
#8C000F
ΔE00 4.15
Brown
#A52A2A
ΔE00 4.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1417 #149E9B
analogous
#9E145C #9E1417 #9E5614
triadic
#9E1417 #179E14 #14179E
tetradic
#9E1417 #5C9E14 #149E9B #56149E
square
#9E1417 #5C9E14 #149E9B #56149E
split-complementary
#9E1417 #149E56 #145C9E
monochromatic
#310607 #680D0F #9E1417 #D41B1F #E74548
Accessibility & contrast
On white
8.18
#9E1417 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#9E1417 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1417
8.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1417 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1417 | 1.00 | 8.18 | 2.57 | 8.18 |
| #FFFFFF | 8.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#443C15
Deuteranopia (green-blind)
#65590E
Tritanopia (blue-blind)
#AF0018
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #9e1417; /* rgb */ color: rgb(158, 20, 23); /* oklch */ color: oklch(44.9% 0.171 27.0);
Tailwind
colors: {
custom: {
50: '#c56455',
500: '#9e1417',
950: '#000000',
},
}SCSS
$custom: #9e1417; $custom-light: #c56455; $custom-dark: #000000;
JSON
{
"hex": "#9e1417",
"rgb": {
"r": 158,
"g": 20,
"b": 23
},
"hsl": {
"h": 358.696,
"s": 77.528,
"l": 34.902
},
"oklch": {
"l": 0.44852,
"c": 0.17071,
"h": 27
},
"luminance": 0.07831
}Semantic roles & 50–950 ramp
primary
#9E1417
secondary
#46C8C5
accent
#F4F034
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150603
muted
#837A78