#871A2D#871A2D
#871A2D is a dark, vivid red. Relative luminance 0.061; OKLCH L 41.1% C 0.143 H 17.2°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).
Color values
| HEX | #871A2D |
|---|---|
| RGB | rgb(135, 26, 45) |
| HSL | hsl(350, 68%, 32%) |
| HSV | hsv(350, 81%, 53%) |
| CMYK | cmyk(0%, 80.7%, 66.7%, 47.1%) |
| CIE-LAB | lab(29.62, 45.83, 17.67) |
| CIE-LCH | lch(29.62, 49.12, 21.09°) |
| OKLab | oklab(41.12% 0.1365 0.0423) |
| OKLCH | oklch(41.12% 0.143 17.2) |
| XYZ | xyz(10.8359, 6.0808, 3.0853) |
| Luminance | 0.0608 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.37
Wine Red
#7B0323
ΔE00 3.52
Red Wine
#8C0034
ΔE00 4.37
Bordeaux
#7B002C
ΔE00 5.09
Cranberry
#9E003A
ΔE00 5.46
Wine
#722F37
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871A2D #1A8774
analogous
#871A64 #871A2D #873E1A
triadic
#871A2D #2D871A #1A2D87
tetradic
#871A2D #64871A #1A8774 #3E1A87
square
#871A2D #64871A #1A8774 #3E1A87
split-complementary
#871A2D #1A873E #1A6487
monochromatic
#20060B #54101C #871A2D #BA243E #DA415C
Accessibility & contrast
On white
9.48
#871A2D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#871A2D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871A2D
9.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871A2D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871A2D | 1.00 | 9.48 | 2.22 | 9.48 |
| #FFFFFF | 9.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A372D
Deuteranopia (green-blind)
#554E2A
Tritanopia (blue-blind)
#950022
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #871a2d; /* rgb */ color: rgb(135, 26, 45); /* oklch */ color: oklch(41.1% 0.143 17.2);
Tailwind
colors: {
custom: {
50: '#b16265',
500: '#871a2d',
950: '#000000',
},
}SCSS
$custom: #871a2d; $custom-light: #b16265; $custom-dark: #000000;
JSON
{
"hex": "#871a2d",
"rgb": {
"r": 135,
"g": 26,
"b": 45
},
"hsl": {
"h": 349.541,
"s": 67.702,
"l": 31.569
},
"oklch": {
"l": 0.41117,
"c": 0.14291,
"h": 17.2
},
"luminance": 0.06079
}Semantic roles & 50–950 ramp
primary
#871A2D
secondary
#42BAA5
accent
#EBCC3D
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120605
muted
#817A7A