#8A1F33#8A1F33
#8A1F33 is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.2% C 0.141 H 15.5°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1F33 |
|---|---|
| RGB | rgb(138, 31, 51) |
| HSL | hsl(349, 63%, 33%) |
| HSV | hsv(349, 78%, 54%) |
| CMYK | cmyk(0%, 77.5%, 63%, 45.9%) |
| CIE-LAB | lab(30.94, 45.49, 15.56) |
| CIE-LCH | lch(30.94, 48.08, 18.88°) |
| OKLab | oklab(42.24% 0.1363 0.0379) |
| OKLCH | oklch(42.24% 0.141 15.5) |
| XYZ | xyz(11.5700, 6.6240, 3.8007) |
| Luminance | 0.0662 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Wine
#8C0034
ΔE00 3.78
Cranberry
#9E003A
ΔE00 4.49
Wine Red
#7B0323
ΔE00 4.68
Burgundy
#800020
ΔE00 4.82
Bordeaux
#7B002C
ΔE00 5.22
Wine
#722F37
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1F33 #1F8A76
analogous
#8A1F68 #8A1F33 #8A401F
triadic
#8A1F33 #338A1F #1F338A
tetradic
#8A1F33 #688A1F #1F8A76 #401F8A
square
#8A1F33 #688A1F #1F8A76 #401F8A
split-complementary
#8A1F33 #1F8A40 #1F688A
monochromatic
#26090E #581421 #8A1F33 #BC2A45 #D74C66
Accessibility & contrast
On white
9.03
#8A1F33 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#8A1F33 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1F33
9.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1F33 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1F33 | 1.00 | 9.03 | 2.32 | 9.03 |
| #FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D3B33
Deuteranopia (green-blind)
#585130
Tritanopia (blue-blind)
#980027
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8a1f33; /* rgb */ color: rgb(138, 31, 51); /* oklch */ color: oklch(42.2% 0.141 15.5);
Tailwind
colors: {
custom: {
50: '#b3656a',
500: '#8a1f33',
950: '#000000',
},
}SCSS
$custom: #8a1f33; $custom-light: #b3656a; $custom-dark: #000000;
JSON
{
"hex": "#8a1f33",
"rgb": {
"r": 138,
"g": 31,
"b": 51
},
"hsl": {
"h": 348.785,
"s": 63.314,
"l": 33.137
},
"oklch": {
"l": 0.42243,
"c": 0.14145,
"h": 15.5
},
"luminance": 0.06622
}Semantic roles & 50–950 ramp
primary
#8A1F33
secondary
#4BBAA5
accent
#E6C841
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A