#871F1D#871F1D
#871F1D is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.3% C 0.140 H 26.7°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).
Color values
| HEX | #871F1D |
|---|---|
| RGB | rgb(135, 31, 29) |
| HSL | hsl(1, 65%, 32%) |
| HSV | hsv(1, 79%, 53%) |
| CMYK | cmyk(0%, 77%, 78.5%, 47.1%) |
| CIE-LAB | lab(29.96, 43.34, 28.31) |
| CIE-LCH | lch(29.96, 51.77, 33.15°) |
| OKLab | oklab(41.3% 0.1249 0.0628) |
| OKLCH | oklch(41.3% 0.14 26.7) |
| XYZ | xyz(10.7047, 6.2212, 1.7993) |
| Luminance | 0.0622 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 3.30
Carmine
#9D0216
ΔE00 4.49
Indian Red
#850E04
ΔE00 4.95
Dark Red
#840000
ΔE00 5.26
Maroon
#800000
ΔE00 5.32
Darkred
#8B0000
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871F1D #1D8587
analogous
#871D50 #871F1D #87541D
triadic
#871F1D #1D871F #1F1D87
tetradic
#871F1D #50871D #1D8587 #541D87
square
#871F1D #50871D #1D8587 #541D87
split-complementary
#871F1D #1D8754 #1D5087
monochromatic
#220807 #551312 #871F1D #B92B28 #D74A47
Accessibility & contrast
On white
9.36
#871F1D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#871F1D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871F1D
9.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871F1D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871F1D | 1.00 | 9.36 | 2.24 | 9.36 |
| #FFFFFF | 9.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E381C
Deuteranopia (green-blind)
#584F19
Tritanopia (blue-blind)
#950020
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #871f1d; /* rgb */ color: rgb(135, 31, 29); /* oklch */ color: oklch(41.3% 0.140 26.7);
Tailwind
colors: {
custom: {
50: '#b26459',
500: '#871f1d',
950: '#000000',
},
}SCSS
$custom: #871f1d; $custom-light: #b26459; $custom-dark: #000000;
JSON
{
"hex": "#871f1d",
"rgb": {
"r": 135,
"g": 31,
"b": 29
},
"hsl": {
"h": 1.132,
"s": 64.634,
"l": 32.157
},
"oklch": {
"l": 0.41295,
"c": 0.13979,
"h": 26.7
},
"luminance": 0.0622
}Semantic roles & 50–950 ramp
primary
#871F1D
secondary
#46B7B9
accent
#E4E840
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120603
muted
#817A78