#8A1F35#8A1F35
#8A1F35 is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.3% C 0.142 H 14.4°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1F35 |
|---|---|
| RGB | rgb(138, 31, 53) |
| HSL | hsl(348, 63%, 33%) |
| HSV | hsv(348, 78%, 54%) |
| CMYK | cmyk(0%, 77.5%, 61.6%, 45.9%) |
| CIE-LAB | lab(30.98, 45.63, 14.30) |
| CIE-LCH | lch(30.98, 47.82, 17.40°) |
| OKLab | oklab(42.29% 0.1371 0.0351) |
| OKLCH | oklch(42.29% 0.142 14.4) |
| XYZ | xyz(11.6150, 6.6420, 4.0379) |
| Luminance | 0.0664 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Wine
#8C0034
ΔE00 3.31
Cranberry
#9E003A
ΔE00 4.18
Wine Red
#7B0323
ΔE00 4.93
Bordeaux
#7B002C
ΔE00 4.95
Burgundy
#800020
ΔE00 5.28
Wine
#722F37
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1F35 #1F8A74
analogous
#8A1F6A #8A1F35 #8A3F1F
triadic
#8A1F35 #358A1F #1F358A
tetradic
#8A1F35 #6A8A1F #1F8A74 #3F1F8A
square
#8A1F35 #6A8A1F #1F8A74 #3F1F8A
split-complementary
#8A1F35 #1F8A3F #1F6A8A
monochromatic
#26090F #581422 #8A1F35 #BC2A48 #D74C69
Accessibility & contrast
On white
9.02
#8A1F35 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#8A1F35 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1F35
9.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1F35 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1F35 | 1.00 | 9.02 | 2.33 | 9.02 |
| #FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C3B35
Deuteranopia (green-blind)
#585132
Tritanopia (blue-blind)
#970028
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8a1f35; /* rgb */ color: rgb(138, 31, 53); /* oklch */ color: oklch(42.3% 0.142 14.4);
Tailwind
colors: {
custom: {
50: '#b2656c',
500: '#8a1f35',
950: '#000000',
},
}SCSS
$custom: #8a1f35; $custom-light: #b2656c; $custom-dark: #000000;
JSON
{
"hex": "#8a1f35",
"rgb": {
"r": 138,
"g": 31,
"b": 53
},
"hsl": {
"h": 347.664,
"s": 63.314,
"l": 33.137
},
"oklch": {
"l": 0.42288,
"c": 0.14154,
"h": 14.4
},
"luminance": 0.0664
}Semantic roles & 50–950 ramp
primary
#8A1F35
secondary
#4BBAA3
accent
#E6C441
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A