#9E2017#9E2017
#9E2017 is a mid, vivid red. Relative luminance 0.084; OKLCH L 45.7% C 0.163 H 29.2°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2017 |
|---|---|
| RGB | rgb(158, 32, 23) |
| HSL | hsl(4, 75%, 35%) |
| HSV | hsv(4, 85%, 62%) |
| CMYK | cmyk(0%, 79.7%, 85.4%, 38%) |
| CIE-LAB | lab(34.73, 50.15, 38.01) |
| CIE-LCH | lch(34.73, 62.93, 37.16°) |
| OKLab | oklab(45.67% 0.1424 0.0797) |
| OKLCH | oklch(45.67% 0.163 29.2) |
| XYZ | xyz(14.7736, 8.3664, 1.6474) |
| Luminance | 0.0836 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Darkish Red
#A90308
ΔE00 2.91
Carmine
#9D0216
ΔE00 3.38
Blood Red
#980002
ΔE00 3.65
Deep Red
#9A0200
ΔE00 3.68
Brownish Red
#9E3623
ΔE00 3.77
Brick
#A03623
ΔE00 3.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2017 #17959E
analogous
#9E1751 #9E2017 #9E6317
triadic
#9E2017 #179E20 #20179E
tetradic
#9E2017 #519E17 #17959E #63179E
square
#9E2017 #519E17 #17959E #63179E
split-complementary
#9E2017 #179E63 #17519E
monochromatic
#330A07 #69150F #9E2017 #D32B1F #E5554B
Accessibility & contrast
On white
7.86
#9E2017 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#9E2017 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E2017
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2017 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2017 | 1.00 | 7.86 | 2.67 | 7.86 |
| #FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#484014
Deuteranopia (green-blind)
#675C0F
Tritanopia (blue-blind)
#AF0020
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9e2017; /* rgb */ color: rgb(158, 32, 23); /* oklch */ color: oklch(45.7% 0.163 29.2);
Tailwind
colors: {
custom: {
50: '#c46856',
500: '#9e2017',
950: '#000000',
},
}SCSS
$custom: #9e2017; $custom-light: #c46856; $custom-dark: #000000;
JSON
{
"hex": "#9e2017",
"rgb": {
"r": 158,
"g": 32,
"b": 23
},
"hsl": {
"h": 4,
"s": 74.586,
"l": 35.49
},
"oklch": {
"l": 0.45668,
"c": 0.16315,
"h": 29.2
},
"luminance": 0.08364
}Semantic roles & 50–950 ramp
primary
#9E2017
secondary
#4ABEC6
accent
#E5F137
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150703
muted
#837A78