#8E312F#8E312F
#8E312F is a dark, vivid red. Relative luminance 0.082; OKLCH L 44.9% C 0.127 H 24.9°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).
Color values
| HEX | #8E312F |
|---|---|
| RGB | rgb(142, 49, 47) |
| HSL | hsl(1, 50%, 37%) |
| HSV | hsv(1, 67%, 56%) |
| CMYK | cmyk(0%, 65.5%, 66.9%, 44.3%) |
| CIE-LAB | lab(34.30, 39.25, 22.59) |
| CIE-LCH | lch(34.30, 45.29, 29.92°) |
| OKLab | oklab(44.87% 0.1151 0.0534) |
| OKLCH | oklch(44.87% 0.127 24.9) |
| XYZ | xyz(12.7680, 8.1544, 3.5904) |
| Luminance | 0.0815 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 4.83
Carmine
#9D0216
ΔE00 6.51
Brownish Red
#9E3623
ΔE00 6.67
Brick
#A03623
ΔE00 6.91
Crimson (survey)
#8C000F
ΔE00 7.27
Red Brown
#8B2E16
ΔE00 7.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E312F #2F8C8E
analogous
#8E2F5D #8E312F #8E612F
triadic
#8E312F #2F8E31 #312F8E
tetradic
#8E312F #5D8E2F #2F8C8E #612F8E
square
#8E312F #5D8E2F #2F8C8E #612F8E
split-complementary
#8E312F #2F8E61 #2F5D8E
monochromatic
#321111 #602120 #8E312F #BC413E #CE6C6A
Accessibility & contrast
On white
7.98
#8E312F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#8E312F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E312F
7.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E312F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E312F | 1.00 | 7.98 | 2.63 | 7.98 |
| #FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A442E
Deuteranopia (green-blind)
#61582C
Tritanopia (blue-blind)
#9C1C31
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #8e312f; /* rgb */ color: rgb(142, 49, 47); /* oklch */ color: oklch(44.9% 0.127 24.9);
Tailwind
colors: {
custom: {
50: '#b56e67',
500: '#8e312f',
950: '#000000',
},
}SCSS
$custom: #8e312f; $custom-light: #b56e67; $custom-dark: #000000;
JSON
{
"hex": "#8e312f",
"rgb": {
"r": 142,
"g": 49,
"b": 47
},
"hsl": {
"h": 1.263,
"s": 50.265,
"l": 37.059
},
"oklch": {
"l": 0.44873,
"c": 0.12685,
"h": 24.9
},
"luminance": 0.08153
}Semantic roles & 50–950 ramp
primary
#8E312F
secondary
#64B3B5
accent
#D7DA4E
background
#FBF6F6
surface
#F7ECEB
border
#D0C7C6
text
#120706
muted
#817A7A