#8E1531#8E1531
#8E1531 is a dark, vivid red. Relative luminance 0.065; OKLCH L 42.2% C 0.154 H 15.2°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1531 |
|---|---|
| RGB | rgb(142, 21, 49) |
| HSL | hsl(346, 74%, 32%) |
| HSV | hsv(346, 85%, 56%) |
| CMYK | cmyk(0%, 85.2%, 65.5%, 44.3%) |
| CIE-LAB | lab(30.67, 49.54, 16.68) |
| CIE-LCH | lch(30.67, 52.27, 18.61°) |
| OKLab | oklab(42.18% 0.1483 0.0402) |
| OKLCH | oklch(42.18% 0.154 15.2) |
| XYZ | xyz(11.9792, 6.5107, 3.5311) |
| Luminance | 0.0651 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Wine
#8C0034
ΔE00 3.16
Cranberry
#9E003A
ΔE00 3.68
Wine Red
#7B0323
ΔE00 4.49
Burgundy
#800020
ΔE00 4.50
Bordeaux
#7B002C
ΔE00 5.04
Rouge
#AB1239
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1531 #158E72
analogous
#8E156E #8E1531 #8E3615
triadic
#8E1531 #318E15 #15318E
tetradic
#8E1531 #6E8E15 #158E72 #36158E
square
#8E1531 #6E8E15 #158E72 #36158E
split-complementary
#8E1531 #158E36 #156E8E
monochromatic
#23050C #590D1F #8E1531 #C31D43 #E23B62
Accessibility & contrast
On white
9.12
#8E1531 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#8E1531 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1531
9.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1531 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1531 | 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)
#3A3831
Deuteranopia (green-blind)
#59512E
Tritanopia (blue-blind)
#9C0022
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8e1531; /* rgb */ color: rgb(142, 21, 49); /* oklch */ color: oklch(42.2% 0.154 15.2);
Tailwind
colors: {
custom: {
50: '#b66268',
500: '#8e1531',
950: '#000000',
},
}SCSS
$custom: #8e1531; $custom-light: #b66268; $custom-dark: #000000;
JSON
{
"hex": "#8e1531",
"rgb": {
"r": 142,
"g": 21,
"b": 49
},
"hsl": {
"h": 346.116,
"s": 74.233,
"l": 31.961
},
"oklch": {
"l": 0.42178,
"c": 0.15369,
"h": 15.2
},
"luminance": 0.06509
}Semantic roles & 50–950 ramp
primary
#8E1531
secondary
#3DC2A3
accent
#F1C637
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130606
muted
#827A7A