#8A1F24#8A1F24
#8A1F24 is a dark, vivid red. Relative luminance 0.065; OKLCH L 42.0% C 0.142 H 23.6°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1F24 |
|---|---|
| RGB | rgb(138, 31, 36) |
| HSL | hsl(357, 63%, 33%) |
| HSV | hsv(357, 78%, 54%) |
| CMYK | cmyk(0%, 77.5%, 73.9%, 45.9%) |
| CIE-LAB | lab(30.67, 44.63, 24.93) |
| CIE-LCH | lch(30.67, 51.12, 29.19°) |
| OKLab | oklab(41.96% 0.1302 0.0569) |
| OKLCH | oklch(41.96% 0.142 23.6) |
| XYZ | xyz(11.2909, 6.5124, 2.3312) |
| Luminance | 0.0651 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 4.74
Burgundy
#800020
ΔE00 4.83
Carmine
#9D0216
ΔE00 5.04
Brown
#A52A2A
ΔE00 6.11
Wine Red
#7B0323
ΔE00 6.20
Indian Red
#850E04
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1F24 #1F8A85
analogous
#8A1F59 #8A1F24 #8A4F1F
triadic
#8A1F24 #248A1F #1F248A
tetradic
#8A1F24 #598A1F #1F8A85 #4F1F8A
square
#8A1F24 #598A1F #1F8A85 #4F1F8A
split-complementary
#8A1F24 #1F8A4F #1F598A
monochromatic
#26090A #581417 #8A1F24 #BC2A31 #D74C53
Accessibility & contrast
On white
9.12
#8A1F24 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#8A1F24 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1F24
9.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1F24 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1F24 | 1.00 | 9.12 | 2.30 | 9.12 |
| #FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F3A23
Deuteranopia (green-blind)
#5A5020
Tritanopia (blue-blind)
#980022
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8a1f24; /* rgb */ color: rgb(138, 31, 36); /* oklch */ color: oklch(42.0% 0.142 23.6);
Tailwind
colors: {
custom: {
50: '#b4645e',
500: '#8a1f24',
950: '#000000',
},
}SCSS
$custom: #8a1f24; $custom-light: #b4645e; $custom-dark: #000000;
JSON
{
"hex": "#8a1f24",
"rgb": {
"r": 138,
"g": 31,
"b": 36
},
"hsl": {
"h": 357.196,
"s": 63.314,
"l": 33.137
},
"oklch": {
"l": 0.41961,
"c": 0.14209,
"h": 23.6
},
"luminance": 0.06511
}Semantic roles & 50–950 ramp
primary
#8A1F24
secondary
#4BBAB4
accent
#E6DF41
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#120604
muted
#817A79