#9E1D17#9E1D17
#9E1D17 is a mid, vivid red. Relative luminance 0.082; OKLCH L 45.4% C 0.165 H 28.6°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1D17 |
|---|---|
| RGB | rgb(158, 29, 23) |
| HSL | hsl(3, 75%, 35%) |
| HSV | hsv(3, 85%, 62%) |
| CMYK | cmyk(0%, 81.6%, 85.4%, 38%) |
| CIE-LAB | lab(34.42, 51.04, 37.72) |
| CIE-LCH | lch(34.42, 63.46, 36.47°) |
| OKLab | oklab(45.43% 0.1451 0.0791) |
| OKLCH | oklch(45.43% 0.165 28.6) |
| XYZ | xyz(14.6964, 8.2121, 1.6217) |
| Luminance | 0.0821 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Carmine
#9D0216
ΔE00 2.85
Darkish Red
#A90308
ΔE00 2.96
Blood Red
#980002
ΔE00 3.57
Deep Red
#9A0200
ΔE00 3.69
Brownish Red
#9E3623
ΔE00 4.21
Brown
#A52A2A
ΔE00 4.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1D17 #17989E
analogous
#9E1754 #9E1D17 #9E6117
triadic
#9E1D17 #179E1D #1D179E
tetradic
#9E1D17 #549E17 #17989E #61179E
square
#9E1D17 #549E17 #17989E #61179E
split-complementary
#9E1D17 #179E61 #17549E
monochromatic
#330907 #69130F #9E1D17 #D3271F #E5524B
Accessibility & contrast
On white
7.95
#9E1D17 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#9E1D17 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1D17
7.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1D17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1D17 | 1.00 | 7.95 | 2.64 | 7.95 |
| #FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#473F14
Deuteranopia (green-blind)
#665B0F
Tritanopia (blue-blind)
#AF001E
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9e1d17; /* rgb */ color: rgb(158, 29, 23); /* oklch */ color: oklch(45.4% 0.165 28.6);
Tailwind
colors: {
custom: {
50: '#c46756',
500: '#9e1d17',
950: '#000000',
},
}SCSS
$custom: #9e1d17; $custom-light: #c46756; $custom-dark: #000000;
JSON
{
"hex": "#9e1d17",
"rgb": {
"r": 158,
"g": 29,
"b": 23
},
"hsl": {
"h": 2.667,
"s": 74.586,
"l": 35.49
},
"oklch": {
"l": 0.45435,
"c": 0.16525,
"h": 28.6
},
"luminance": 0.0821
}Semantic roles & 50–950 ramp
primary
#9E1D17
secondary
#4AC1C6
accent
#E9F137
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150703
muted
#837A78