#8A1917#8A1917
#8A1917 is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.3% C 0.148 H 27.4°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1917 |
|---|---|
| RGB | rgb(138, 25, 23) |
| HSL | hsl(1, 71%, 32%) |
| HSV | hsv(1, 83%, 54%) |
| CMYK | cmyk(0%, 81.9%, 83.3%, 45.9%) |
| CIE-LAB | lab(29.82, 46.06, 31.90) |
| CIE-LCH | lch(29.82, 56.03, 34.71°) |
| OKLab | oklab(41.28% 0.1318 0.0683) |
| OKLCH | oklch(41.28% 0.148 27.4) |
| XYZ | xyz(10.9849, 6.1622, 1.4215) |
| Luminance | 0.0616 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 2.06
Carmine
#9D0216
ΔE00 3.62
Indian Red
#850E04
ΔE00 3.67
Darkred
#8B0000
ΔE00 3.96
Dark Red
#840000
ΔE00 3.99
Maroon
#800000
ΔE00 4.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1917 #17888A
analogous
#8A174F #8A1917 #8A5317
triadic
#8A1917 #178A19 #19178A
tetradic
#8A1917 #4F8A17 #17888A #53178A
square
#8A1917 #4F8A17 #17888A #53178A
split-complementary
#8A1917 #178A53 #174F8A
monochromatic
#210606 #560F0E #8A1917 #BE2320 #DF403D
Accessibility & contrast
On white
9.41
#8A1917 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#8A1917 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1917
9.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1917 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1917 | 1.00 | 9.41 | 2.23 | 9.41 |
| #FFFFFF | 9.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D3715
Deuteranopia (green-blind)
#594F11
Tritanopia (blue-blind)
#99001A
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #8a1917; /* rgb */ color: rgb(138, 25, 23); /* oklch */ color: oklch(41.3% 0.148 27.4);
Tailwind
colors: {
custom: {
50: '#b56255',
500: '#8a1917',
950: '#000000',
},
}SCSS
$custom: #8a1917; $custom-light: #b56255; $custom-dark: #000000;
JSON
{
"hex": "#8a1917",
"rgb": {
"r": 138,
"g": 25,
"b": 23
},
"hsl": {
"h": 1.043,
"s": 71.429,
"l": 31.569
},
"oklch": {
"l": 0.41277,
"c": 0.14846,
"h": 27.4
},
"luminance": 0.0616
}Semantic roles & 50–950 ramp
primary
#8A1917
secondary
#3FBBBE
accent
#EBEE3A
background
#FCF6F4
surface
#F8EBE8
border
#D1C6C4
text
#130603
muted
#827A78