#871E17#871E17
#871E17 is a dark, vivid red. Relative luminance 0.061; OKLCH L 41.1% C 0.141 H 28.8°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).
Color values
| HEX | #871E17 |
|---|---|
| RGB | rgb(135, 30, 23) |
| HSL | hsl(4, 71%, 31%) |
| HSV | hsv(4, 83%, 53%) |
| CMYK | cmyk(0%, 77.8%, 83%, 47.1%) |
| CIE-LAB | lab(29.77, 43.48, 31.65) |
| CIE-LCH | lch(29.77, 53.77, 36.05°) |
| OKLab | oklab(41.13% 0.124 0.0681) |
| OKLCH | oklch(41.13% 0.142 28.8) |
| XYZ | xyz(10.6119, 6.1430, 1.4374) |
| Luminance | 0.0614 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 2.80
Indian Red
#850E04
ΔE00 3.34
Dark Red
#840000
ΔE00 3.89
Darkred
#8B0000
ΔE00 3.92
Maroon
#800000
ΔE00 4.07
Brick Red
#8F1402
ΔE00 4.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871E17 #178087
analogous
#871748 #871E17 #875617
triadic
#871E17 #17871E #1E1787
tetradic
#871E17 #488717 #178087 #561787
square
#871E17 #488717 #178087 #561787
split-complementary
#871E17 #178756 #174887
monochromatic
#1E0705 #53120E #871E17 #BB2A20 #DE453B
Accessibility & contrast
On white
9.42
#871E17 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#871E17 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871E17
9.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871E17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871E17 | 1.00 | 9.42 | 2.23 | 9.42 |
| #FFFFFF | 9.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E3715
Deuteranopia (green-blind)
#584E12
Tritanopia (blue-blind)
#95001E
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #871e17; /* rgb */ color: rgb(135, 30, 23); /* oklch */ color: oklch(41.1% 0.141 28.8);
Tailwind
colors: {
custom: {
50: '#b26355',
500: '#871e17',
950: '#000000',
},
}SCSS
$custom: #871e17; $custom-light: #b26355; $custom-dark: #000000;
JSON
{
"hex": "#871e17",
"rgb": {
"r": 135,
"g": 30,
"b": 23
},
"hsl": {
"h": 3.75,
"s": 70.886,
"l": 30.98
},
"oklch": {
"l": 0.4113,
"c": 0.1415,
"h": 28.8
},
"luminance": 0.06141
}Semantic roles & 50–950 ramp
primary
#871E17
secondary
#3FB3BB
accent
#E2EE3A
background
#FCF6F5
surface
#F8EBE8
border
#D1C6C4
text
#120603
muted
#817A78