#8A1818#8A1818
#8A1818 is a dark, vivid red. Relative luminance 0.061; OKLCH L 41.2% C 0.149 H 26.8°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1818 |
|---|---|
| RGB | rgb(138, 24, 24) |
| HSL | hsl(0, 70%, 32%) |
| HSV | hsv(0, 83%, 54%) |
| CMYK | cmyk(0%, 82.6%, 82.6%, 45.9%) |
| CIE-LAB | lab(29.72, 46.38, 31.23) |
| CIE-LCH | lch(29.72, 55.92, 33.95°) |
| OKLab | oklab(41.21% 0.133 0.0672) |
| OKLCH | oklch(41.21% 0.149 26.8) |
| XYZ | xyz(10.9741, 6.1243, 1.4683) |
| Luminance | 0.0612 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 2.06
Carmine
#9D0216
ΔE00 3.59
Indian Red
#850E04
ΔE00 4.03
Dark Red
#840000
ΔE00 4.26
Darkred
#8B0000
ΔE00 4.29
Maroon
#800000
ΔE00 4.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1818 #188A8A
analogous
#8A1851 #8A1818 #8A5118
triadic
#8A1818 #188A18 #18188A
tetradic
#8A1818 #518A18 #188A8A #51188A
square
#8A1818 #518A18 #188A8A #51188A
split-complementary
#8A1818 #188A51 #18518A
monochromatic
#220606 #560F0F #8A1818 #BE2121 #DE3F3F
Accessibility & contrast
On white
9.44
#8A1818 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#8A1818 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1818
9.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1818 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1818 | 1.00 | 9.44 | 2.22 | 9.44 |
| #FFFFFF | 9.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D3616
Deuteranopia (green-blind)
#594F12
Tritanopia (blue-blind)
#99001A
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #8a1818; /* rgb */ color: rgb(138, 24, 24); /* oklch */ color: oklch(41.2% 0.149 26.8);
Tailwind
colors: {
custom: {
50: '#b56155',
500: '#8a1818',
950: '#000000',
},
}SCSS
$custom: #8a1818; $custom-light: #b56155; $custom-dark: #000000;
JSON
{
"hex": "#8a1818",
"rgb": {
"r": 138,
"g": 24,
"b": 24
},
"hsl": {
"h": 0,
"s": 70.37,
"l": 31.765
},
"oklch": {
"l": 0.4121,
"c": 0.14906,
"h": 26.8
},
"luminance": 0.06122
}Semantic roles & 50–950 ramp
primary
#8A1818
secondary
#40BDBD
accent
#EDED3B
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78