#8D1F38#8D1F38
#8D1F38 is a dark, vivid red. Relative luminance 0.069; OKLCH L 42.9% C 0.145 H 13.2°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).
Color values
| HEX | #8D1F38 |
|---|---|
| RGB | rgb(141, 31, 56) |
| HSL | hsl(346, 64%, 34%) |
| HSV | hsv(346, 78%, 55%) |
| CMYK | cmyk(0%, 78%, 60.3%, 44.7%) |
| CIE-LAB | lab(31.65, 46.77, 13.33) |
| CIE-LCH | lch(31.65, 48.63, 15.91°) |
| OKLab | oklab(42.91% 0.1409 0.033) |
| OKLCH | oklch(42.91% 0.145 13.2) |
| XYZ | xyz(12.1895, 6.9300, 4.4364) |
| Luminance | 0.0693 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Wine
#8C0034
ΔE00 3.05
Cranberry
#9E003A
ΔE00 3.52
Bordeaux
#7B002C
ΔE00 5.22
Wine Red
#7B0323
ΔE00 5.66
Rouge
#AB1239
ΔE00 5.92
Purple Red
#990147
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D1F38 #1F8D74
analogous
#8D1F6F #8D1F38 #8D3D1F
triadic
#8D1F38 #388D1F #1F388D
tetradic
#8D1F38 #6F8D1F #1F8D74 #3D1F8D
square
#8D1F38 #6F8D1F #1F8D74 #3D1F8D
split-complementary
#8D1F38 #1F8D3D #1F6F8D
monochromatic
#290910 #5B1424 #8D1F38 #BF2A4C #D84E6E
Accessibility & contrast
On white
8.80
#8D1F38 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#8D1F38 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8D1F38
8.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D1F38 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D1F38 | 1.00 | 8.80 | 2.39 | 8.80 |
| #FFFFFF | 8.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D3C38
Deuteranopia (green-blind)
#595335
Tritanopia (blue-blind)
#9B002A
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8d1f38; /* rgb */ color: rgb(141, 31, 56); /* oklch */ color: oklch(42.9% 0.145 13.2);
Tailwind
colors: {
custom: {
50: '#b5656e',
500: '#8d1f38',
950: '#000000',
},
}SCSS
$custom: #8d1f38; $custom-light: #b5656e; $custom-dark: #000000;
JSON
{
"hex": "#8d1f38",
"rgb": {
"r": 141,
"g": 31,
"b": 56
},
"hsl": {
"h": 346.364,
"s": 63.953,
"l": 33.725
},
"oklch": {
"l": 0.42914,
"c": 0.14474,
"h": 13.2
},
"luminance": 0.06928
}Semantic roles & 50–950 ramp
primary
#8D1F38
secondary
#4DBBA2
accent
#E7C141
background
#FBF6F6
surface
#F7EBEB
border
#D0C6C6
text
#120607
muted
#817A7A