#8A1F31#8A1F31
#8A1F31 is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.2% C 0.141 H 16.7°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1F31 |
|---|---|
| RGB | rgb(138, 31, 49) |
| HSL | hsl(350, 63%, 33%) |
| HSV | hsv(350, 78%, 54%) |
| CMYK | cmyk(0%, 77.5%, 64.5%, 45.9%) |
| CIE-LAB | lab(30.89, 45.36, 16.82) |
| CIE-LCH | lch(30.89, 48.38, 20.34°) |
| OKLab | oklab(42.2% 0.1354 0.0406) |
| OKLCH | oklch(42.2% 0.141 16.7) |
| XYZ | xyz(11.5268, 6.6067, 3.5734) |
| Luminance | 0.0660 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Wine
#8C0034
ΔE00 4.33
Burgundy
#800020
ΔE00 4.44
Wine Red
#7B0323
ΔE00 4.54
Cranberry
#9E003A
ΔE00 4.90
Bordeaux
#7B002C
ΔE00 5.59
Wine
#722F37
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1F31 #1F8A78
analogous
#8A1F66 #8A1F31 #8A431F
triadic
#8A1F31 #318A1F #1F318A
tetradic
#8A1F31 #668A1F #1F8A78 #431F8A
square
#8A1F31 #668A1F #1F8A78 #431F8A
split-complementary
#8A1F31 #1F8A43 #1F668A
monochromatic
#26090E #58141F #8A1F31 #BC2A43 #D74C64
Accessibility & contrast
On white
9.05
#8A1F31 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#8A1F31 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1F31
9.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1F31 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1F31 | 1.00 | 9.05 | 2.32 | 9.05 |
| #FFFFFF | 9.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D3A31
Deuteranopia (green-blind)
#58512E
Tritanopia (blue-blind)
#980027
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8a1f31; /* rgb */ color: rgb(138, 31, 49); /* oklch */ color: oklch(42.2% 0.141 16.7);
Tailwind
colors: {
custom: {
50: '#b36568',
500: '#8a1f31',
950: '#000000',
},
}SCSS
$custom: #8a1f31; $custom-light: #b36568; $custom-dark: #000000;
JSON
{
"hex": "#8a1f31",
"rgb": {
"r": 138,
"g": 31,
"b": 49
},
"hsl": {
"h": 349.907,
"s": 63.314,
"l": 33.137
},
"oklch": {
"l": 0.422,
"c": 0.14141,
"h": 16.7
},
"luminance": 0.06605
}Semantic roles & 50–950 ramp
primary
#8A1F31
secondary
#4BBAA7
accent
#E6CB41
background
#FBF6F6
surface
#F7EBEB
border
#D0C6C6
text
#120606
muted
#817A7A