#9E2117#9E2117
#9E2117 is a mid, vivid red. Relative luminance 0.084; OKLCH L 45.8% C 0.162 H 29.5°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2117 |
|---|---|
| RGB | rgb(158, 33, 23) |
| HSL | hsl(4, 75%, 35%) |
| HSV | hsv(4, 85%, 62%) |
| CMYK | cmyk(0%, 79.1%, 85.4%, 38%) |
| CIE-LAB | lab(34.84, 49.84, 38.11) |
| CIE-LCH | lch(34.84, 62.74, 37.40°) |
| OKLab | oklab(45.75% 0.1414 0.0799) |
| OKLCH | oklch(45.75% 0.162 29.5) |
| XYZ | xyz(14.8009, 8.4211, 1.6566) |
| Luminance | 0.0842 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Darkish Red
#A90308
ΔE00 2.92
Carmine
#9D0216
ΔE00 3.57
Brownish Red
#9E3623
ΔE00 3.62
Deep Red
#9A0200
ΔE00 3.69
Blood Red
#980002
ΔE00 3.69
Brick
#A03623
ΔE00 3.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2117 #17949E
analogous
#9E1751 #9E2117 #9E6417
triadic
#9E2117 #179E21 #21179E
tetradic
#9E2117 #519E17 #17949E #64179E
square
#9E2117 #519E17 #17949E #64179E
split-complementary
#9E2117 #179E64 #17519E
monochromatic
#330B07 #69160F #9E2117 #D32C1F #E5564B
Accessibility & contrast
On white
7.82
#9E2117 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#9E2117 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E2117
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2117 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2117 | 1.00 | 7.82 | 2.68 | 7.82 |
| #FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#494014
Deuteranopia (green-blind)
#675C0F
Tritanopia (blue-blind)
#AF0020
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9e2117; /* rgb */ color: rgb(158, 33, 23); /* oklch */ color: oklch(45.8% 0.162 29.5);
Tailwind
colors: {
custom: {
50: '#c46856',
500: '#9e2117',
950: '#000000',
},
}SCSS
$custom: #9e2117; $custom-light: #c46856; $custom-dark: #000000;
JSON
{
"hex": "#9e2117",
"rgb": {
"r": 158,
"g": 33,
"b": 23
},
"hsl": {
"h": 4.444,
"s": 74.586,
"l": 35.49
},
"oklch": {
"l": 0.4575,
"c": 0.16241,
"h": 29.5
},
"luminance": 0.08419
}Semantic roles & 50–950 ramp
primary
#9E2117
secondary
#4ABDC6
accent
#E3F137
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150703
muted
#837A78