#871F18#871F18
#871F18 is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.2% C 0.141 H 28.7°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).
Color values
| HEX | #871F18 |
|---|---|
| RGB | rgb(135, 31, 24) |
| HSL | hsl(4, 70%, 31%) |
| HSV | hsv(4, 82%, 53%) |
| CMYK | cmyk(0%, 77%, 82.2%, 47.1%) |
| CIE-LAB | lab(29.91, 43.15, 31.21) |
| CIE-LCH | lch(29.91, 53.26, 35.87°) |
| OKLab | oklab(41.24% 0.1232 0.0675) |
| OKLCH | oklch(41.24% 0.141 28.7) |
| XYZ | xyz(10.6478, 6.1985, 1.4998) |
| Luminance | 0.0620 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 2.93
Indian Red
#850E04
ΔE00 3.54
Dark Red
#840000
ΔE00 4.09
Darkred
#8B0000
ΔE00 4.13
Maroon
#800000
ΔE00 4.27
Carmine
#9D0216
ΔE00 4.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871F18 #188087
analogous
#871848 #871F18 #875618
triadic
#871F18 #18871F #1F1887
tetradic
#871F18 #488718 #188087 #561887
square
#871F18 #488718 #188087 #561887
split-complementary
#871F18 #188756 #184887
monochromatic
#1F0706 #53130F #871F18 #BB2B21 #DC473D
Accessibility & contrast
On white
9.38
#871F18 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#871F18 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871F18
9.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871F18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871F18 | 1.00 | 9.38 | 2.24 | 9.38 |
| #FFFFFF | 9.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F3816
Deuteranopia (green-blind)
#584F13
Tritanopia (blue-blind)
#95001F
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #871f18; /* rgb */ color: rgb(135, 31, 24); /* oklch */ color: oklch(41.2% 0.141 28.7);
Tailwind
colors: {
custom: {
50: '#b26456',
500: '#871f18',
950: '#000000',
},
}SCSS
$custom: #871f18; $custom-light: #b26456; $custom-dark: #000000;
JSON
{
"hex": "#871f18",
"rgb": {
"r": 135,
"g": 31,
"b": 24
},
"hsl": {
"h": 3.784,
"s": 69.811,
"l": 31.176
},
"oklch": {
"l": 0.41236,
"c": 0.14051,
"h": 28.7
},
"luminance": 0.06197
}Semantic roles & 50–950 ramp
primary
#871F18
secondary
#40B3BB
accent
#E1ED3B
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#120603
muted
#817A78