#8A1F22#8A1F22
#8A1F22 is a dark, vivid red. Relative luminance 0.065; OKLCH L 41.9% C 0.142 H 24.6°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1F22 |
|---|---|
| RGB | rgb(138, 31, 34) |
| HSL | hsl(358, 63%, 33%) |
| HSV | hsv(358, 78%, 54%) |
| CMYK | cmyk(0%, 77.5%, 75.4%, 45.9%) |
| CIE-LAB | lab(30.64, 44.53, 26.15) |
| CIE-LCH | lch(30.64, 51.65, 30.42°) |
| OKLab | oklab(41.93% 0.1294 0.0591) |
| OKLCH | oklch(41.93% 0.142 24.6) |
| XYZ | xyz(11.2613, 6.5005, 2.1748) |
| Luminance | 0.0650 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 4.19
Carmine
#9D0216
ΔE00 4.62
Burgundy
#800020
ΔE00 5.27
Brown
#A52A2A
ΔE00 5.96
Indian Red
#850E04
ΔE00 6.46
Dark Red
#840000
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1F22 #1F8A87
analogous
#8A1F57 #8A1F22 #8A511F
triadic
#8A1F22 #228A1F #1F228A
tetradic
#8A1F22 #578A1F #1F8A87 #511F8A
square
#8A1F22 #578A1F #1F8A87 #511F8A
split-complementary
#8A1F22 #1F8A51 #1F578A
monochromatic
#260909 #581416 #8A1F22 #BC2A2E #D74C50
Accessibility & contrast
On white
9.13
#8A1F22 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#8A1F22 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1F22
9.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1F22 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1F22 | 1.00 | 9.13 | 2.30 | 9.13 |
| #FFFFFF | 9.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F3921
Deuteranopia (green-blind)
#5A501E
Tritanopia (blue-blind)
#980021
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8a1f22; /* rgb */ color: rgb(138, 31, 34); /* oklch */ color: oklch(41.9% 0.142 24.6);
Tailwind
colors: {
custom: {
50: '#b4645d',
500: '#8a1f22',
950: '#000000',
},
}SCSS
$custom: #8a1f22; $custom-light: #b4645d; $custom-dark: #000000;
JSON
{
"hex": "#8a1f22",
"rgb": {
"r": 138,
"g": 31,
"b": 34
},
"hsl": {
"h": 358.318,
"s": 63.314,
"l": 33.137
},
"oklch": {
"l": 0.41931,
"c": 0.14231,
"h": 24.6
},
"luminance": 0.06499
}Semantic roles & 50–950 ramp
primary
#8A1F22
secondary
#4BBAB7
accent
#E6E241
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#120604
muted
#817A79