#9E1E17#9E1E17
#9E1E17 is a mid, vivid red. Relative luminance 0.083; OKLCH L 45.5% C 0.165 H 28.8°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1E17 |
|---|---|
| RGB | rgb(158, 30, 23) |
| HSL | hsl(3, 75%, 35%) |
| HSV | hsv(3, 85%, 62%) |
| CMYK | cmyk(0%, 81%, 85.4%, 38%) |
| CIE-LAB | lab(34.52, 50.75, 37.82) |
| CIE-LCH | lch(34.52, 63.29, 36.69°) |
| OKLab | oklab(45.51% 0.1442 0.0793) |
| OKLCH | oklch(45.51% 0.165 28.8) |
| XYZ | xyz(14.7213, 8.2619, 1.6300) |
| Luminance | 0.0826 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Darkish Red
#A90308
ΔE00 2.94
Carmine
#9D0216
ΔE00 3.02
Blood Red
#980002
ΔE00 3.58
Deep Red
#9A0200
ΔE00 3.67
Brownish Red
#9E3623
ΔE00 4.06
Brick
#A03623
ΔE00 4.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1E17 #17979E
analogous
#9E1753 #9E1E17 #9E6117
triadic
#9E1E17 #179E1E #1E179E
tetradic
#9E1E17 #539E17 #17979E #61179E
square
#9E1E17 #539E17 #17979E #61179E
split-complementary
#9E1E17 #179E61 #17539E
monochromatic
#330A07 #69140F #9E1E17 #D3281F #E5534B
Accessibility & contrast
On white
7.92
#9E1E17 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#9E1E17 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1E17
7.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1E17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1E17 | 1.00 | 7.92 | 2.65 | 7.92 |
| #FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#483F14
Deuteranopia (green-blind)
#675B0F
Tritanopia (blue-blind)
#AF001E
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9e1e17; /* rgb */ color: rgb(158, 30, 23); /* oklch */ color: oklch(45.5% 0.165 28.8);
Tailwind
colors: {
custom: {
50: '#c46756',
500: '#9e1e17',
950: '#000000',
},
}SCSS
$custom: #9e1e17; $custom-light: #c46756; $custom-dark: #000000;
JSON
{
"hex": "#9e1e17",
"rgb": {
"r": 158,
"g": 30,
"b": 23
},
"hsl": {
"h": 3.111,
"s": 74.586,
"l": 35.49
},
"oklch": {
"l": 0.45511,
"c": 0.16457,
"h": 28.8
},
"luminance": 0.0826
}Semantic roles & 50–950 ramp
primary
#9E1E17
secondary
#4AC0C6
accent
#E8F137
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150703
muted
#837A78