#9E221A#9E221A
#9E221A is a mid, vivid red. Relative luminance 0.085; OKLCH L 45.9% C 0.161 H 28.9°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).
Color values
| HEX | #9E221A |
|---|---|
| RGB | rgb(158, 34, 26) |
| HSL | hsl(4, 72%, 36%) |
| HSV | hsv(4, 84%, 62%) |
| CMYK | cmyk(0%, 78.5%, 83.5%, 38%) |
| CIE-LAB | lab(34.98, 49.61, 36.64) |
| CIE-LCH | lch(34.98, 61.67, 36.45°) |
| OKLab | oklab(45.86% 0.1412 0.0779) |
| OKLCH | oklch(45.86% 0.161 28.9) |
| XYZ | xyz(14.8609, 8.4901, 1.8334) |
| Luminance | 0.0849 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Carmine
#9D0216
ΔE00 3.26
Darkish Red
#A90308
ΔE00 3.35
Brownish Red
#9E3623
ΔE00 3.63
Brick
#A03623
ΔE00 3.70
Brown
#A52A2A
ΔE00 3.80
Firebrick
#B22222
ΔE00 4.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E221A #1A969E
analogous
#9E1A54 #9E221A #9E641A
triadic
#9E221A #1A9E22 #221A9E
tetradic
#9E221A #549E1A #1A969E #641A9E
square
#9E221A #549E1A #1A969E #641A9E
split-complementary
#9E221A #1A9E64 #1A549E
monochromatic
#350B09 #691711 #9E221A #D32D23 #E25950
Accessibility & contrast
On white
7.78
#9E221A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#9E221A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E221A
7.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E221A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E221A | 1.00 | 7.78 | 2.70 | 7.78 |
| #FFFFFF | 7.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#494117
Deuteranopia (green-blind)
#675C13
Tritanopia (blue-blind)
#AF0022
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9e221a; /* rgb */ color: rgb(158, 34, 26); /* oklch */ color: oklch(45.9% 0.161 28.9);
Tailwind
colors: {
custom: {
50: '#c46958',
500: '#9e221a',
950: '#000000',
},
}SCSS
$custom: #9e221a; $custom-light: #c46958; $custom-dark: #000000;
JSON
{
"hex": "#9e221a",
"rgb": {
"r": 158,
"g": 34,
"b": 26
},
"hsl": {
"h": 3.636,
"s": 71.739,
"l": 36.078
},
"oklch": {
"l": 0.45862,
"c": 0.16128,
"h": 28.9
},
"luminance": 0.08488
}Semantic roles & 50–950 ramp
primary
#9E221A
secondary
#4FBEC5
accent
#E3EE39
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150703
muted
#837A78