#8A1817#8A1817
#8A1817 is a dark, vivid red. Relative luminance 0.061; OKLCH L 41.2% C 0.149 H 27.2°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1817 |
|---|---|
| RGB | rgb(138, 24, 23) |
| HSL | hsl(1, 71%, 32%) |
| HSV | hsv(1, 83%, 54%) |
| CMYK | cmyk(0%, 82.6%, 83.3%, 45.9%) |
| CIE-LAB | lab(29.71, 46.35, 31.80) |
| CIE-LCH | lch(29.71, 56.21, 34.45°) |
| OKLab | oklab(41.2% 0.1327 0.0681) |
| OKLCH | oklch(41.2% 0.149 27.2) |
| XYZ | xyz(10.9639, 6.1202, 1.4145) |
| Luminance | 0.0612 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 1.96
Carmine
#9D0216
ΔE00 3.59
Indian Red
#850E04
ΔE00 3.75
Dark Red
#840000
ΔE00 4.01
Darkred
#8B0000
ΔE00 4.02
Maroon
#800000
ΔE00 4.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1817 #17898A
analogous
#8A1750 #8A1817 #8A5217
triadic
#8A1817 #178A18 #18178A
tetradic
#8A1817 #508A17 #17898A #52178A
square
#8A1817 #508A17 #17898A #52178A
split-complementary
#8A1817 #178A52 #17508A
monochromatic
#210606 #560F0E #8A1817 #BE2120 #DF3E3D
Accessibility & contrast
On white
9.44
#8A1817 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#8A1817 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1817
9.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1817 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1817 | 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)
#3D3615
Deuteranopia (green-blind)
#594F11
Tritanopia (blue-blind)
#99001A
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #8a1817; /* rgb */ color: rgb(138, 24, 23); /* oklch */ color: oklch(41.2% 0.149 27.2);
Tailwind
colors: {
custom: {
50: '#b56155',
500: '#8a1817',
950: '#000000',
},
}SCSS
$custom: #8a1817; $custom-light: #b56155; $custom-dark: #000000;
JSON
{
"hex": "#8a1817",
"rgb": {
"r": 138,
"g": 24,
"b": 23
},
"hsl": {
"h": 0.522,
"s": 71.429,
"l": 31.569
},
"oklch": {
"l": 0.412,
"c": 0.14918,
"h": 27.2
},
"luminance": 0.06118
}Semantic roles & 50–950 ramp
primary
#8A1817
secondary
#3FBDBE
accent
#EDEE3A
background
#FCF6F4
surface
#F8EBE8
border
#D1C6C4
text
#130603
muted
#827A78