#87271F#87271F
#87271F is a dark, vivid red. Relative luminance 0.067; OKLCH L 42.2% C 0.132 H 28.7°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).
Color values
| HEX | #87271F |
|---|---|
| RGB | rgb(135, 39, 31) |
| HSL | hsl(5, 63%, 33%) |
| HSV | hsv(5, 77%, 53%) |
| CMYK | cmyk(0%, 71.1%, 77%, 47.1%) |
| CIE-LAB | lab(31.12, 40.31, 28.36) |
| CIE-LCH | lch(31.12, 49.28, 35.13°) |
| OKLab | oklab(42.17% 0.1158 0.0634) |
| OKLCH | oklch(42.17% 0.132 28.7) |
| XYZ | xyz(10.9657, 6.7025, 2.0124) |
| Luminance | 0.0670 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 4.31
Red Brown
#8B2E16
ΔE00 4.70
Indian Red
#850E04
ΔE00 5.01
Carmine
#9D0216
ΔE00 5.07
Darkred
#8B0000
ΔE00 5.63
Dark Red
#840000
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#87271F #1F7F87
analogous
#871F4B #87271F #875B1F
triadic
#87271F #1F8727 #271F87
tetradic
#87271F #4B871F #1F7F87 #5B1F87
square
#87271F #4B871F #1F7F87 #5B1F87
split-complementary
#87271F #1F875B #1F4B87
monochromatic
#230A08 #551914 #87271F #B9352A #D6554B
Accessibility & contrast
On white
8.97
#87271F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#87271F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #87271F
8.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##87271F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##87271F | 1.00 | 8.97 | 2.34 | 8.97 |
| #FFFFFF | 8.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#433C1D
Deuteranopia (green-blind)
#5A511B
Tritanopia (blue-blind)
#950626
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #87271f; /* rgb */ color: rgb(135, 39, 31); /* oklch */ color: oklch(42.2% 0.132 28.7);
Tailwind
colors: {
custom: {
50: '#b1685b',
500: '#87271f',
950: '#000000',
},
}SCSS
$custom: #87271f; $custom-light: #b1685b; $custom-dark: #000000;
JSON
{
"hex": "#87271f",
"rgb": {
"r": 135,
"g": 39,
"b": 31
},
"hsl": {
"h": 4.615,
"s": 62.651,
"l": 32.549
},
"oklch": {
"l": 0.42166,
"c": 0.13205,
"h": 28.7
},
"luminance": 0.06701
}Semantic roles & 50–950 ramp
primary
#87271F
secondary
#4AB0B8
accent
#D9E642
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120604
muted
#817A79