#9E1817#9E1817
#9E1817 is a mid, vivid red. Relative luminance 0.080; OKLCH L 45.1% C 0.168 H 27.6°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1817 |
|---|---|
| RGB | rgb(158, 24, 23) |
| HSL | hsl(0, 75%, 35%) |
| HSV | hsv(0, 85%, 62%) |
| CMYK | cmyk(0%, 84.8%, 85.4%, 38%) |
| CIE-LAB | lab(33.96, 52.35, 37.30) |
| CIE-LCH | lch(33.96, 64.29, 35.47°) |
| OKLab | oklab(45.09% 0.1493 0.0781) |
| OKLCH | oklch(45.09% 0.168 27.6) |
| XYZ | xyz(14.5837, 7.9867, 1.5842) |
| Luminance | 0.0798 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Carmine
#9D0216
ΔE00 2.07
Darkish Red
#A90308
ΔE00 3.20
Blood Red
#980002
ΔE00 3.59
Deep Red
#9A0200
ΔE00 3.84
Brown
#A52A2A
ΔE00 4.15
Crimson (survey)
#8C000F
ΔE00 4.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1817 #179D9E
analogous
#9E175A #9E1817 #9E5B17
triadic
#9E1817 #179E18 #18179E
tetradic
#9E1817 #5A9E17 #179D9E #5B179E
square
#9E1817 #5A9E17 #179D9E #5B179E
split-complementary
#9E1817 #179E5B #175A9E
monochromatic
#330807 #69100F #9E1817 #D3201F #E54C4B
Accessibility & contrast
On white
8.09
#9E1817 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#9E1817 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1817
8.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1817 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1817 | 1.00 | 8.09 | 2.60 | 8.09 |
| #FFFFFF | 8.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#453D15
Deuteranopia (green-blind)
#665A0F
Tritanopia (blue-blind)
#AF001A
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #9e1817; /* rgb */ color: rgb(158, 24, 23); /* oklch */ color: oklch(45.1% 0.168 27.6);
Tailwind
colors: {
custom: {
50: '#c46556',
500: '#9e1817',
950: '#000000',
},
}SCSS
$custom: #9e1817; $custom-light: #c46556; $custom-dark: #000000;
JSON
{
"hex": "#9e1817",
"rgb": {
"r": 158,
"g": 24,
"b": 23
},
"hsl": {
"h": 0.444,
"s": 74.586,
"l": 35.49
},
"oklch": {
"l": 0.45089,
"c": 0.16846,
"h": 27.6
},
"luminance": 0.07984
}Semantic roles & 50–950 ramp
primary
#9E1817
secondary
#4AC5C6
accent
#F0F137
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150603
muted
#837A78