#8E1F2B#8E1F2B
#8E1F2B is a dark, vivid red. Relative luminance 0.069; OKLCH L 42.8% C 0.146 H 20.5°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1F2B |
|---|---|
| RGB | rgb(142, 31, 43) |
| HSL | hsl(354, 64%, 34%) |
| HSV | hsv(354, 78%, 56%) |
| CMYK | cmyk(0%, 78.2%, 69.7%, 44.3%) |
| CIE-LAB | lab(31.59, 46.26, 21.77) |
| CIE-LCH | lch(31.59, 51.13, 25.21°) |
| OKLab | oklab(42.83% 0.1364 0.051) |
| OKLCH | oklch(42.83% 0.146 20.5) |
| XYZ | xyz(12.0827, 6.9070, 2.9820) |
| Luminance | 0.0691 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 4.52
Wine Red
#7B0323
ΔE00 5.54
Rouge
#AB1239
ΔE00 6.13
Carmine
#9D0216
ΔE00 6.34
Brown
#A52A2A
ΔE00 6.40
Cranberry
#9E003A
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1F2B #1F8E82
analogous
#8E1F63 #8E1F2B #8E4B1F
triadic
#8E1F2B #2B8E1F #1F2B8E
tetradic
#8E1F2B #638E1F #1F8E82 #4B1F8E
square
#8E1F2B #638E1F #1F8E82 #4B1F8E
split-complementary
#8E1F2B #1F8E4B #1F638E
monochromatic
#2A090D #5C141C #8E1F2B #C02A3A #D94F5E
Accessibility & contrast
On white
8.82
#8E1F2B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#8E1F2B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1F2B
8.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1F2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1F2B | 1.00 | 8.82 | 2.38 | 8.82 |
| #FFFFFF | 8.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#403B2B
Deuteranopia (green-blind)
#5B5328
Tritanopia (blue-blind)
#9C0025
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8e1f2b; /* rgb */ color: rgb(142, 31, 43); /* oklch */ color: oklch(42.8% 0.146 20.5);
Tailwind
colors: {
custom: {
50: '#b66564',
500: '#8e1f2b',
950: '#000000',
},
}SCSS
$custom: #8e1f2b; $custom-light: #b66564; $custom-dark: #000000;
JSON
{
"hex": "#8e1f2b",
"rgb": {
"r": 142,
"g": 31,
"b": 43
},
"hsl": {
"h": 353.514,
"s": 64.162,
"l": 33.922
},
"oklch": {
"l": 0.42829,
"c": 0.14566,
"h": 20.5
},
"luminance": 0.06905
}Semantic roles & 50–950 ramp
primary
#8E1F2B
secondary
#4DBBB0
accent
#E7D541
background
#FCF6F5
surface
#F8EBEA
border
#D1C6C6
text
#130605
muted
#827A79