#8A1F18#8A1F18
#8A1F18 is a dark, vivid red. Relative luminance 0.064; OKLCH L 41.8% C 0.144 H 28.7°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1F18 |
|---|---|
| RGB | rgb(138, 31, 24) |
| HSL | hsl(4, 70%, 32%) |
| HSV | hsv(4, 83%, 54%) |
| CMYK | cmyk(0%, 77.5%, 82.6%, 45.9%) |
| CIE-LAB | lab(30.52, 44.14, 32.03) |
| CIE-LCH | lch(30.52, 54.54, 35.96°) |
| OKLab | oklab(41.81% 0.126 0.069) |
| OKLCH | oklch(41.81% 0.144 28.7) |
| XYZ | xyz(11.1374, 6.4510, 1.5227) |
| Luminance | 0.0645 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 2.88
Indian Red
#850E04
ΔE00 3.58
Carmine
#9D0216
ΔE00 3.99
Darkred
#8B0000
ΔE00 4.01
Dark Red
#840000
ΔE00 4.18
Brick Red
#8F1402
ΔE00 4.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1F18 #18838A
analogous
#8A184A #8A1F18 #8A5818
triadic
#8A1F18 #188A1F #1F188A
tetradic
#8A1F18 #4A8A18 #18838A #58188A
square
#8A1F18 #4A8A18 #18838A #58188A
split-complementary
#8A1F18 #188A58 #184A8A
monochromatic
#220806 #56130F #8A1F18 #BE2B21 #DE493F
Accessibility & contrast
On white
9.17
#8A1F18 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#8A1F18 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1F18
9.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1F18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1F18 | 1.00 | 9.17 | 2.29 | 9.17 |
| #FFFFFF | 9.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#403916
Deuteranopia (green-blind)
#5A5013
Tritanopia (blue-blind)
#99001F
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8a1f18; /* rgb */ color: rgb(138, 31, 24); /* oklch */ color: oklch(41.8% 0.144 28.7);
Tailwind
colors: {
custom: {
50: '#b56456',
500: '#8a1f18',
950: '#000000',
},
}SCSS
$custom: #8a1f18; $custom-light: #b56456; $custom-dark: #000000;
JSON
{
"hex": "#8a1f18",
"rgb": {
"r": 138,
"g": 31,
"b": 24
},
"hsl": {
"h": 3.684,
"s": 70.37,
"l": 31.765
},
"oklch": {
"l": 0.41805,
"c": 0.14364,
"h": 28.7
},
"luminance": 0.06449
}Semantic roles & 50–950 ramp
primary
#8A1F18
secondary
#40B6BD
accent
#E2ED3B
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78