#8B1818#8B1818
#8B1818 is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.4% C 0.150 H 26.8°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).
Color values
| HEX | #8B1818 |
|---|---|
| RGB | rgb(139, 24, 24) |
| HSL | hsl(0, 71%, 32%) |
| HSV | hsv(0, 83%, 55%) |
| CMYK | cmyk(0%, 82.7%, 82.7%, 45.5%) |
| CIE-LAB | lab(29.94, 46.69, 31.51) |
| CIE-LCH | lch(29.94, 56.33, 34.01°) |
| OKLab | oklab(41.4% 0.1339 0.0678) |
| OKLCH | oklch(41.4% 0.15 26.8) |
| XYZ | xyz(11.1403, 6.2100, 1.4761) |
| Luminance | 0.0621 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 2.04
Carmine
#9D0216
ΔE00 3.41
Indian Red
#850E04
ΔE00 4.04
Darkred
#8B0000
ΔE00 4.25
Dark Red
#840000
ΔE00 4.29
Maroon
#800000
ΔE00 4.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B1818 #188B8B
analogous
#8B1852 #8B1818 #8B5218
triadic
#8B1818 #188B18 #18188B
tetradic
#8B1818 #528B18 #188B8B #52188B
square
#8B1818 #528B18 #188B8B #52188B
split-complementary
#8B1818 #188B52 #18528B
monochromatic
#230606 #570F0F #8B1818 #BF2121 #DE3F3F
Accessibility & contrast
On white
9.37
#8B1818 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#8B1818 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8B1818
9.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B1818 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B1818 | 1.00 | 9.37 | 2.24 | 9.37 |
| #FFFFFF | 9.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D3716
Deuteranopia (green-blind)
#594F12
Tritanopia (blue-blind)
#9A001A
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #8b1818; /* rgb */ color: rgb(139, 24, 24); /* oklch */ color: oklch(41.4% 0.150 26.8);
Tailwind
colors: {
custom: {
50: '#b66256',
500: '#8b1818',
950: '#000000',
},
}SCSS
$custom: #8b1818; $custom-light: #b66256; $custom-dark: #000000;
JSON
{
"hex": "#8b1818",
"rgb": {
"r": 139,
"g": 24,
"b": 24
},
"hsl": {
"h": 0,
"s": 70.552,
"l": 31.961
},
"oklch": {
"l": 0.41405,
"c": 0.15005,
"h": 26.8
},
"luminance": 0.06208
}Semantic roles & 50–950 ramp
primary
#8B1818
secondary
#40BEBE
accent
#EDED3A
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78