#9E2118#9E2118
#9E2118 is a mid, vivid red. Relative luminance 0.084; OKLCH L 45.8% C 0.162 H 29.2°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2118 |
|---|---|
| RGB | rgb(158, 33, 24) |
| HSL | hsl(4, 74%, 36%) |
| HSV | hsv(4, 85%, 62%) |
| CMYK | cmyk(0%, 79.1%, 84.8%, 38%) |
| CIE-LAB | lab(34.85, 49.87, 37.59) |
| CIE-LCH | lch(34.85, 62.45, 37.01°) |
| OKLab | oklab(45.76% 0.1417 0.0792) |
| OKLCH | oklch(45.76% 0.162 29.2) |
| XYZ | xyz(14.8111, 8.4252, 1.7103) |
| Luminance | 0.0842 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Darkish Red
#A90308
ΔE00 3.05
Carmine
#9D0216
ΔE00 3.39
Brownish Red
#9E3623
ΔE00 3.66
Brick
#A03623
ΔE00 3.74
Blood Red
#980002
ΔE00 3.82
Deep Red
#9A0200
ΔE00 3.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2118 #18959E
analogous
#9E1852 #9E2118 #9E6418
triadic
#9E2118 #189E21 #21189E
tetradic
#9E2118 #529E18 #18959E #64189E
square
#9E2118 #529E18 #18959E #64189E
split-complementary
#9E2118 #189E64 #18529E
monochromatic
#340B08 #691610 #9E2118 #D32C20 #E4574D
Accessibility & contrast
On white
7.82
#9E2118 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#9E2118 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E2118
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2118 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2118 | 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)
#494015
Deuteranopia (green-blind)
#675C11
Tritanopia (blue-blind)
#AF0021
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9e2118; /* rgb */ color: rgb(158, 33, 24); /* oklch */ color: oklch(45.8% 0.162 29.2);
Tailwind
colors: {
custom: {
50: '#c46857',
500: '#9e2118',
950: '#000000',
},
}SCSS
$custom: #9e2118; $custom-light: #c46857; $custom-dark: #000000;
JSON
{
"hex": "#9e2118",
"rgb": {
"r": 158,
"g": 33,
"b": 24
},
"hsl": {
"h": 4.03,
"s": 73.626,
"l": 35.686
},
"oklch": {
"l": 0.45759,
"c": 0.16229,
"h": 29.2
},
"luminance": 0.08423
}Semantic roles & 50–950 ramp
primary
#9E2118
secondary
#4CBEC6
accent
#E4F038
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150703
muted
#837A78