#87271E#87271E
#87271E is a dark, vivid red. Relative luminance 0.067; OKLCH L 42.2% C 0.132 H 29.2°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).
Color values
| HEX | #87271E |
|---|---|
| RGB | rgb(135, 39, 30) |
| HSL | hsl(5, 64%, 32%) |
| HSV | hsv(5, 78%, 53%) |
| CMYK | cmyk(0%, 71.1%, 77.8%, 47.1%) |
| CIE-LAB | lab(31.11, 40.26, 28.95) |
| CIE-LCH | lch(31.11, 49.59, 35.71°) |
| OKLab | oklab(42.15% 0.1155 0.0644) |
| OKLCH | oklch(42.15% 0.132 29.2) |
| XYZ | xyz(10.9528, 6.6973, 1.9440) |
| Luminance | 0.0670 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 4.27
Red Brown
#8B2E16
ΔE00 4.39
Indian Red
#850E04
ΔE00 4.78
Carmine
#9D0216
ΔE00 5.08
Darkred
#8B0000
ΔE00 5.41
Brick Red
#8F1402
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#87271E #1E7E87
analogous
#871E49 #87271E #875C1E
triadic
#87271E #1E8727 #271E87
tetradic
#87271E #49871E #1E7E87 #5C1E87
square
#87271E #49871E #1E7E87 #5C1E87
split-complementary
#87271E #1E875C #1E4987
monochromatic
#230A08 #551913 #87271E #B93529 #D75549
Accessibility & contrast
On white
8.98
#87271E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#87271E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #87271E
8.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##87271E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##87271E | 1.00 | 8.98 | 2.34 | 8.98 |
| #FFFFFF | 8.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#433C1C
Deuteranopia (green-blind)
#5B511A
Tritanopia (blue-blind)
#950626
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #87271e; /* rgb */ color: rgb(135, 39, 30); /* oklch */ color: oklch(42.2% 0.132 29.2);
Tailwind
colors: {
custom: {
50: '#b1685a',
500: '#87271e',
950: '#000000',
},
}SCSS
$custom: #87271e; $custom-light: #b1685a; $custom-dark: #000000;
JSON
{
"hex": "#87271e",
"rgb": {
"r": 135,
"g": 39,
"b": 30
},
"hsl": {
"h": 5.143,
"s": 63.636,
"l": 32.353
},
"oklch": {
"l": 0.42154,
"c": 0.13222,
"h": 29.2
},
"luminance": 0.06696
}Semantic roles & 50–950 ramp
primary
#87271E
secondary
#48AFB9
accent
#D8E741
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120604
muted
#817A79