#9E2217#9E2217
#9E2217 is a mid, vivid red. Relative luminance 0.085; OKLCH L 45.8% C 0.162 H 29.7°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2217 |
|---|---|
| RGB | rgb(158, 34, 23) |
| HSL | hsl(5, 75%, 35%) |
| HSV | hsv(5, 85%, 62%) |
| CMYK | cmyk(0%, 78.5%, 85.4%, 38%) |
| CIE-LAB | lab(34.96, 49.52, 38.21) |
| CIE-LCH | lch(34.96, 62.55, 37.65°) |
| OKLab | oklab(45.84% 0.1404 0.0802) |
| OKLCH | oklch(45.84% 0.162 29.7) |
| XYZ | xyz(14.8291, 8.4774, 1.6659) |
| Luminance | 0.0848 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Darkish Red
#A90308
ΔE00 2.94
Brownish Red
#9E3623
ΔE00 3.48
Brick
#A03623
ΔE00 3.55
Deep Red
#9A0200
ΔE00 3.72
Blood Red
#980002
ΔE00 3.75
Carmine
#9D0216
ΔE00 3.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2217 #17939E
analogous
#9E174F #9E2217 #9E6517
triadic
#9E2217 #179E22 #22179E
tetradic
#9E2217 #4F9E17 #17939E #65179E
square
#9E2217 #4F9E17 #17939E #65179E
split-complementary
#9E2217 #179E65 #174F9E
monochromatic
#330B07 #69170F #9E2217 #D32D1F #E5574B
Accessibility & contrast
On white
7.79
#9E2217 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#9E2217 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E2217
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2217 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2217 | 1.00 | 7.79 | 2.70 | 7.79 |
| #FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#494114
Deuteranopia (green-blind)
#685C0F
Tritanopia (blue-blind)
#AF0021
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9e2217; /* rgb */ color: rgb(158, 34, 23); /* oklch */ color: oklch(45.8% 0.162 29.7);
Tailwind
colors: {
custom: {
50: '#c46856',
500: '#9e2217',
950: '#000000',
},
}SCSS
$custom: #9e2217; $custom-light: #c46856; $custom-dark: #000000;
JSON
{
"hex": "#9e2217",
"rgb": {
"r": 158,
"g": 34,
"b": 23
},
"hsl": {
"h": 4.889,
"s": 74.586,
"l": 35.49
},
"oklch": {
"l": 0.45835,
"c": 0.16167,
"h": 29.7
},
"luminance": 0.08475
}Semantic roles & 50–950 ramp
primary
#9E2217
secondary
#4ABCC6
accent
#E2F137
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150703
muted
#837A78