#871B18#871B18
#871B18 is a dark, vivid red. Relative luminance 0.060; OKLCH L 40.9% C 0.144 H 27.5°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).
Color values
| HEX | #871B18 |
|---|---|
| RGB | rgb(135, 27, 24) |
| HSL | hsl(2, 70%, 31%) |
| HSV | hsv(2, 82%, 53%) |
| CMYK | cmyk(0%, 80%, 82.2%, 47.1%) |
| CIE-LAB | lab(29.42, 44.52, 30.72) |
| CIE-LCH | lch(29.42, 54.09, 34.60°) |
| OKLab | oklab(40.87% 0.1275 0.0664) |
| OKLCH | oklch(40.87% 0.144 27.5) |
| XYZ | xyz(10.5498, 6.0024, 1.4671) |
| Luminance | 0.0600 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 2.43
Indian Red
#850E04
ΔE00 3.81
Dark Red
#840000
ΔE00 4.12
Carmine
#9D0216
ΔE00 4.21
Maroon
#800000
ΔE00 4.23
Darkred
#8B0000
ΔE00 4.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871B18 #188487
analogous
#87184C #871B18 #875218
triadic
#871B18 #18871B #1B1887
tetradic
#871B18 #4C8718 #188487 #521887
square
#871B18 #4C8718 #188487 #521887
split-complementary
#871B18 #188752 #184C87
monochromatic
#1F0606 #53110F #871B18 #BB2521 #DC413D
Accessibility & contrast
On white
9.54
#871B18 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#871B18 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871B18
9.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871B18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871B18 | 1.00 | 9.54 | 2.20 | 9.54 |
| #FFFFFF | 9.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D3616
Deuteranopia (green-blind)
#574E13
Tritanopia (blue-blind)
#95001C
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #871b18; /* rgb */ color: rgb(135, 27, 24); /* oklch */ color: oklch(40.9% 0.144 27.5);
Tailwind
colors: {
custom: {
50: '#b26256',
500: '#871b18',
950: '#000000',
},
}SCSS
$custom: #871b18; $custom-light: #b26256; $custom-dark: #000000;
JSON
{
"hex": "#871b18",
"rgb": {
"r": 135,
"g": 27,
"b": 24
},
"hsl": {
"h": 1.622,
"s": 69.811,
"l": 31.176
},
"oklch": {
"l": 0.40871,
"c": 0.14379,
"h": 27.5
},
"luminance": 0.06001
}Semantic roles & 50–950 ramp
primary
#871B18
secondary
#40B7BB
accent
#E8ED3B
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78