#8A1F37#8A1F37
#8A1F37 is a dark, vivid red. Relative luminance 0.067; OKLCH L 42.3% C 0.142 H 13.2°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1F37 |
|---|---|
| RGB | rgb(138, 31, 55) |
| HSL | hsl(347, 63%, 33%) |
| HSV | hsv(347, 78%, 54%) |
| CMYK | cmyk(0%, 77.5%, 60.1%, 45.9%) |
| CIE-LAB | lab(31.02, 45.77, 13.04) |
| CIE-LCH | lch(31.02, 47.60, 15.90°) |
| OKLab | oklab(42.34% 0.138 0.0323) |
| OKLCH | oklch(42.34% 0.142 13.2) |
| XYZ | xyz(11.6620, 6.6608, 4.2853) |
| Luminance | 0.0666 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Wine
#8C0034
ΔE00 2.95
Cranberry
#9E003A
ΔE00 3.99
Bordeaux
#7B002C
ΔE00 4.77
Wine Red
#7B0323
ΔE00 5.27
Burgundy
#800020
ΔE00 5.79
Wine
#722F37
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1F37 #1F8A72
analogous
#8A1F6C #8A1F37 #8A3C1F
triadic
#8A1F37 #378A1F #1F378A
tetradic
#8A1F37 #6C8A1F #1F8A72 #3C1F8A
square
#8A1F37 #6C8A1F #1F8A72 #3C1F8A
split-complementary
#8A1F37 #1F8A3C #1F6C8A
monochromatic
#26090F #581423 #8A1F37 #BC2A4B #D74C6C
Accessibility & contrast
On white
9.01
#8A1F37 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#8A1F37 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1F37
9.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1F37 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1F37 | 1.00 | 9.01 | 2.33 | 9.01 |
| #FFFFFF | 9.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C3B37
Deuteranopia (green-blind)
#575134
Tritanopia (blue-blind)
#970029
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8a1f37; /* rgb */ color: rgb(138, 31, 55); /* oklch */ color: oklch(42.3% 0.142 13.2);
Tailwind
colors: {
custom: {
50: '#b2656d',
500: '#8a1f37',
950: '#000000',
},
}SCSS
$custom: #8a1f37; $custom-light: #b2656d; $custom-dark: #000000;
JSON
{
"hex": "#8a1f37",
"rgb": {
"r": 138,
"g": 31,
"b": 55
},
"hsl": {
"h": 346.542,
"s": 63.314,
"l": 33.137
},
"oklch": {
"l": 0.42335,
"c": 0.14168,
"h": 13.2
},
"luminance": 0.06659
}Semantic roles & 50–950 ramp
primary
#8A1F37
secondary
#4BBAA1
accent
#E6C141
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120607
muted
#817A7A