#87273F#87273F
#87273F is a dark, vivid red. Relative luminance 0.070; OKLCH L 42.8% C 0.131 H 9.7°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).
Color values
| HEX | #87273F |
|---|---|
| RGB | rgb(135, 39, 63) |
| HSL | hsl(345, 55%, 34%) |
| HSV | hsv(345, 71%, 53%) |
| CMYK | cmyk(0%, 71.1%, 53.3%, 47.1%) |
| CIE-LAB | lab(31.72, 42.43, 8.64) |
| CIE-LCH | lch(31.72, 43.30, 11.51°) |
| OKLab | oklab(42.81% 0.1288 0.0221) |
| OKLCH | oklch(42.81% 0.131 9.7) |
| XYZ | xyz(11.6154, 6.9624, 5.4339) |
| Luminance | 0.0696 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Wine
#8C0034
ΔE00 4.15
Cranberry
#9E003A
ΔE00 5.20
Wine
#722F37
ΔE00 5.36
Purple Red
#990147
ΔE00 5.37
Berry
#990F4B
ΔE00 5.45
Bordeaux
#7B002C
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#87273F #27876F
analogous
#87276F #87273F #873F27
triadic
#87273F #3F8727 #273F87
tetradic
#87273F #6F8727 #27876F #3F2787
square
#87273F #6F8727 #27876F #3F2787
split-complementary
#87273F #27873F #276F87
monochromatic
#280C13 #581929 #87273F #B63555 #CF5977
Accessibility & contrast
On white
8.78
#87273F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#87273F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #87273F
8.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##87273F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##87273F | 1.00 | 8.78 | 2.39 | 8.78 |
| #FFFFFF | 8.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E3E3F
Deuteranopia (green-blind)
#57523D
Tritanopia (blue-blind)
#931431
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #87273f; /* rgb */ color: rgb(135, 39, 63); /* oklch */ color: oklch(42.8% 0.131 9.7);
Tailwind
colors: {
custom: {
50: '#af6873',
500: '#87273f',
950: '#000000',
},
}SCSS
$custom: #87273f; $custom-light: #af6873; $custom-dark: #000000;
JSON
{
"hex": "#87273f",
"rgb": {
"r": 135,
"g": 39,
"b": 63
},
"hsl": {
"h": 345,
"s": 55.172,
"l": 34.118
},
"oklch": {
"l": 0.42809,
"c": 0.13067,
"h": 9.7
},
"luminance": 0.06961
}Semantic roles & 50–950 ramp
primary
#87273F
secondary
#56B49C
accent
#DFB949
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110708
muted
#807A7B