#8A1718#8A1718
#8A1718 is a dark, vivid red. Relative luminance 0.061; OKLCH L 41.1% C 0.150 H 26.6°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1718 |
|---|---|
| RGB | rgb(138, 23, 24) |
| HSL | hsl(359, 71%, 32%) |
| HSV | hsv(359, 83%, 54%) |
| CMYK | cmyk(0%, 83.3%, 82.6%, 45.9%) |
| CIE-LAB | lab(29.62, 46.67, 31.13) |
| CIE-LCH | lch(29.62, 56.10, 33.70°) |
| OKLab | oklab(41.14% 0.1339 0.067) |
| OKLCH | oklch(41.14% 0.15 26.6) |
| XYZ | xyz(10.9539, 6.0838, 1.4615) |
| Luminance | 0.0608 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 2.00
Carmine
#9D0216
ΔE00 3.57
Indian Red
#850E04
ΔE00 4.12
Dark Red
#840000
ΔE00 4.30
Darkred
#8B0000
ΔE00 4.36
Maroon
#800000
ΔE00 4.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1718 #178A89
analogous
#8A1752 #8A1718 #8A5017
triadic
#8A1718 #188A17 #17188A
tetradic
#8A1718 #528A17 #178A89 #50178A
square
#8A1718 #528A17 #178A89 #50178A
split-complementary
#8A1718 #178A50 #17528A
monochromatic
#210606 #560E0F #8A1718 #BE2021 #DF3D3E
Accessibility & contrast
On white
9.47
#8A1718 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#8A1718 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1718
9.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1718 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1718 | 1.00 | 9.47 | 2.22 | 9.47 |
| #FFFFFF | 9.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C3616
Deuteranopia (green-blind)
#584F12
Tritanopia (blue-blind)
#990019
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #8a1718; /* rgb */ color: rgb(138, 23, 24); /* oklch */ color: oklch(41.1% 0.150 26.6);
Tailwind
colors: {
custom: {
50: '#b56155',
500: '#8a1718',
950: '#000000',
},
}SCSS
$custom: #8a1718; $custom-light: #b56155; $custom-dark: #000000;
JSON
{
"hex": "#8a1718",
"rgb": {
"r": 138,
"g": 23,
"b": 24
},
"hsl": {
"h": 359.478,
"s": 71.429,
"l": 31.569
},
"oklch": {
"l": 0.41135,
"c": 0.14976,
"h": 26.6
},
"luminance": 0.06082
}Semantic roles & 50–950 ramp
primary
#8A1718
secondary
#3FBEBD
accent
#EEED3A
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130503
muted
#827A78