#87271A#87271A
#87271A is a dark, vivid red. Relative luminance 0.067; OKLCH L 42.1% C 0.133 H 30.9°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).
Color values
| HEX | #87271A |
|---|---|
| RGB | rgb(135, 39, 26) |
| HSL | hsl(7, 68%, 32%) |
| HSV | hsv(7, 81%, 53%) |
| CMYK | cmyk(0%, 71.1%, 80.7%, 47.1%) |
| CIE-LAB | lab(31.06, 40.10, 31.23) |
| CIE-LCH | lch(31.06, 50.83, 37.92°) |
| OKLab | oklab(42.11% 0.1141 0.0682) |
| OKLCH | oklch(42.11% 0.133 30.9) |
| XYZ | xyz(10.9049, 6.6782, 1.6919) |
| Luminance | 0.0668 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 3.22
Indian Red
#850E04
ΔE00 4.01
Brick Red
#8F1402
ΔE00 4.39
Crimson (survey)
#8C000F
ΔE00 4.41
Darkred
#8B0000
ΔE00 4.73
Dark Red
#840000
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#87271A #1A7A87
analogous
#871A44 #87271A #875E1A
triadic
#87271A #1A8727 #271A87
tetradic
#87271A #44871A #1A7A87 #5E1A87
square
#87271A #44871A #1A7A87 #5E1A87
split-complementary
#87271A #1A875E #1A4487
monochromatic
#200906 #541810 #87271A #BA3624 #DA5341
Accessibility & contrast
On white
8.99
#87271A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#87271A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #87271A
8.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##87271A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##87271A | 1.00 | 8.99 | 2.34 | 8.99 |
| #FFFFFF | 8.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#433C18
Deuteranopia (green-blind)
#5B5116
Tritanopia (blue-blind)
#950525
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #87271a; /* rgb */ color: rgb(135, 39, 26); /* oklch */ color: oklch(42.1% 0.133 30.9);
Tailwind
colors: {
custom: {
50: '#b26757',
500: '#87271a',
950: '#000000',
},
}SCSS
$custom: #87271a; $custom-light: #b26757; $custom-dark: #000000;
JSON
{
"hex": "#87271a",
"rgb": {
"r": 135,
"g": 39,
"b": 26
},
"hsl": {
"h": 7.156,
"s": 67.702,
"l": 31.569
},
"oklch": {
"l": 0.42106,
"c": 0.13295,
"h": 30.9
},
"luminance": 0.06677
}Semantic roles & 50–950 ramp
primary
#87271A
secondary
#42ACBA
accent
#D6EB3D
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120603
muted
#817A78