#8A1F36#8A1F36
#8A1F36 is a dark, vivid red. Relative luminance 0.067; OKLCH L 42.3% C 0.142 H 13.8°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1F36 |
|---|---|
| RGB | rgb(138, 31, 54) |
| HSL | hsl(347, 63%, 33%) |
| HSV | hsv(347, 78%, 54%) |
| CMYK | cmyk(0%, 77.5%, 60.9%, 45.9%) |
| CIE-LAB | lab(31.00, 45.70, 13.67) |
| CIE-LCH | lch(31.00, 47.70, 16.65°) |
| OKLab | oklab(42.31% 0.1375 0.0337) |
| OKLCH | oklch(42.31% 0.142 13.8) |
| XYZ | xyz(11.6382, 6.6513, 4.1603) |
| Luminance | 0.0665 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Wine
#8C0034
ΔE00 3.12
Cranberry
#9E003A
ΔE00 4.07
Bordeaux
#7B002C
ΔE00 4.84
Wine Red
#7B0323
ΔE00 5.09
Burgundy
#800020
ΔE00 5.53
Wine
#722F37
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1F36 #1F8A73
analogous
#8A1F6B #8A1F36 #8A3D1F
triadic
#8A1F36 #368A1F #1F368A
tetradic
#8A1F36 #6B8A1F #1F8A73 #3D1F8A
square
#8A1F36 #6B8A1F #1F8A73 #3D1F8A
split-complementary
#8A1F36 #1F8A3D #1F6B8A
monochromatic
#26090F #581422 #8A1F36 #BC2A4A #D74C6A
Accessibility & contrast
On white
9.01
#8A1F36 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#8A1F36 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1F36
9.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1F36 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1F36 | 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)
#3C3B36
Deuteranopia (green-blind)
#585133
Tritanopia (blue-blind)
#970029
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8a1f36; /* rgb */ color: rgb(138, 31, 54); /* oklch */ color: oklch(42.3% 0.142 13.8);
Tailwind
colors: {
custom: {
50: '#b2656c',
500: '#8a1f36',
950: '#000000',
},
}SCSS
$custom: #8a1f36; $custom-light: #b2656c; $custom-dark: #000000;
JSON
{
"hex": "#8a1f36",
"rgb": {
"r": 138,
"g": 31,
"b": 54
},
"hsl": {
"h": 347.103,
"s": 63.314,
"l": 33.137
},
"oklch": {
"l": 0.42312,
"c": 0.1416,
"h": 13.8
},
"luminance": 0.0665
}Semantic roles & 50–950 ramp
primary
#8A1F36
secondary
#4BBAA2
accent
#E6C341
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120607
muted
#817A7A