#8D1F31#8D1F31
#8D1F31 is a dark, vivid red. Relative luminance 0.069; OKLCH L 42.8% C 0.144 H 17.2°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).
Color values
| HEX | #8D1F31 |
|---|---|
| RGB | rgb(141, 31, 49) |
| HSL | hsl(350, 64%, 34%) |
| HSV | hsv(350, 78%, 55%) |
| CMYK | cmyk(0%, 78%, 65.2%, 44.7%) |
| CIE-LAB | lab(31.50, 46.30, 17.72) |
| CIE-LCH | lch(31.50, 49.58, 20.95°) |
| OKLab | oklab(42.76% 0.138 0.0426) |
| OKLCH | oklch(42.76% 0.144 17.2) |
| XYZ | xyz(12.0301, 6.8662, 3.5970) |
| Luminance | 0.0686 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 4.65
Red Wine
#8C0034
ΔE00 4.67
Cranberry
#9E003A
ΔE00 4.76
Wine Red
#7B0323
ΔE00 4.97
Rouge
#AB1239
ΔE00 5.61
Bordeaux
#7B002C
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D1F31 #1F8D7B
analogous
#8D1F68 #8D1F31 #8D441F
triadic
#8D1F31 #318D1F #1F318D
tetradic
#8D1F31 #688D1F #1F8D7B #441F8D
square
#8D1F31 #688D1F #1F8D7B #441F8D
split-complementary
#8D1F31 #1F8D44 #1F688D
monochromatic
#29090E #5B1420 #8D1F31 #BF2A42 #D84E65
Accessibility & contrast
On white
8.85
#8D1F31 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#8D1F31 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8D1F31
8.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D1F31 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D1F31 | 1.00 | 8.85 | 2.37 | 8.85 |
| #FFFFFF | 8.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E3B31
Deuteranopia (green-blind)
#5A522E
Tritanopia (blue-blind)
#9B0027
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8d1f31; /* rgb */ color: rgb(141, 31, 49); /* oklch */ color: oklch(42.8% 0.144 17.2);
Tailwind
colors: {
custom: {
50: '#b56568',
500: '#8d1f31',
950: '#000000',
},
}SCSS
$custom: #8d1f31; $custom-light: #b56568; $custom-dark: #000000;
JSON
{
"hex": "#8d1f31",
"rgb": {
"r": 141,
"g": 31,
"b": 49
},
"hsl": {
"h": 350.182,
"s": 63.953,
"l": 33.725
},
"oklch": {
"l": 0.42758,
"c": 0.14447,
"h": 17.2
},
"luminance": 0.06864
}Semantic roles & 50–950 ramp
primary
#8D1F31
secondary
#4DBBA9
accent
#E7CC41
background
#FBF6F6
surface
#F7EBEB
border
#D0C6C6
text
#120606
muted
#817A7A