#87241F#87241F
#87241F is a dark, vivid red. Relative luminance 0.065; OKLCH L 41.8% C 0.135 H 27.5°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).
Color values
| HEX | #87241F |
|---|---|
| RGB | rgb(135, 36, 31) |
| HSL | hsl(3, 63%, 33%) |
| HSV | hsv(3, 77%, 53%) |
| CMYK | cmyk(0%, 73.3%, 77%, 47.1%) |
| CIE-LAB | lab(30.67, 41.53, 27.87) |
| CIE-LCH | lch(30.67, 50.02, 33.86°) |
| OKLab | oklab(41.83% 0.1197 0.0623) |
| OKLCH | oklch(41.83% 0.135 27.5) |
| XYZ | xyz(10.8711, 6.5132, 1.9808) |
| Luminance | 0.0651 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 3.93
Carmine
#9D0216
ΔE00 4.81
Indian Red
#850E04
ΔE00 5.14
Red Brown
#8B2E16
ΔE00 5.46
Dark Red
#840000
ΔE00 5.62
Darkred
#8B0000
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#87241F #1F8287
analogous
#871F4E #87241F #87581F
triadic
#87241F #1F8724 #241F87
tetradic
#87241F #4E871F #1F8287 #581F87
square
#87241F #4E871F #1F8287 #581F87
split-complementary
#87241F #1F8758 #1F4E87
monochromatic
#230908 #551714 #87241F #B9312A #D6514B
Accessibility & contrast
On white
9.12
#87241F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#87241F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #87241F
9.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##87241F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##87241F | 1.00 | 9.12 | 2.30 | 9.12 |
| #FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#413A1D
Deuteranopia (green-blind)
#59501B
Tritanopia (blue-blind)
#950024
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #87241f; /* rgb */ color: rgb(135, 36, 31); /* oklch */ color: oklch(41.8% 0.135 27.5);
Tailwind
colors: {
custom: {
50: '#b2665b',
500: '#87241f',
950: '#000000',
},
}SCSS
$custom: #87241f; $custom-light: #b2665b; $custom-dark: #000000;
JSON
{
"hex": "#87241f",
"rgb": {
"r": 135,
"g": 36,
"b": 31
},
"hsl": {
"h": 2.885,
"s": 62.651,
"l": 32.549
},
"oklch": {
"l": 0.41832,
"c": 0.13493,
"h": 27.5
},
"luminance": 0.06512
}Semantic roles & 50–950 ramp
primary
#87241F
secondary
#4AB3B8
accent
#DEE642
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120604
muted
#817A79