#8A1B31#8A1B31
#8A1B31 is a dark, vivid red. Relative luminance 0.064; OKLCH L 41.9% C 0.145 H 15.7°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1B31 |
|---|---|
| RGB | rgb(138, 27, 49) |
| HSL | hsl(348, 67%, 32%) |
| HSV | hsv(348, 80%, 54%) |
| CMYK | cmyk(0%, 80.4%, 64.5%, 45.9%) |
| CIE-LAB | lab(30.43, 46.68, 16.21) |
| CIE-LCH | lch(30.43, 49.41, 19.15°) |
| OKLab | oklab(41.85% 0.1397 0.0392) |
| OKLCH | oklch(41.85% 0.145 15.7) |
| XYZ | xyz(11.4288, 6.4106, 3.5407) |
| Luminance | 0.0641 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Wine
#8C0034
ΔE00 3.57
Wine Red
#7B0323
ΔE00 4.22
Burgundy
#800020
ΔE00 4.32
Cranberry
#9E003A
ΔE00 4.46
Bordeaux
#7B002C
ΔE00 4.94
Rouge
#AB1239
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1B31 #1B8A74
analogous
#8A1B69 #8A1B31 #8A3C1B
triadic
#8A1B31 #318A1B #1B318A
tetradic
#8A1B31 #698A1B #1B8A74 #3C1B8A
square
#8A1B31 #698A1B #1B8A74 #3C1B8A
split-complementary
#8A1B31 #1B8A3C #1B698A
monochromatic
#24070D #57111F #8A1B31 #BD2543 #DB4563
Accessibility & contrast
On white
9.20
#8A1B31 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#8A1B31 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1B31
9.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1B31 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1B31 | 1.00 | 9.20 | 2.28 | 9.20 |
| #FFFFFF | 9.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B3931
Deuteranopia (green-blind)
#57502E
Tritanopia (blue-blind)
#980025
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8a1b31; /* rgb */ color: rgb(138, 27, 49); /* oklch */ color: oklch(41.9% 0.145 15.7);
Tailwind
colors: {
custom: {
50: '#b36368',
500: '#8a1b31',
950: '#000000',
},
}SCSS
$custom: #8a1b31; $custom-light: #b36368; $custom-dark: #000000;
JSON
{
"hex": "#8a1b31",
"rgb": {
"r": 138,
"g": 27,
"b": 49
},
"hsl": {
"h": 348.108,
"s": 67.273,
"l": 32.353
},
"oklch": {
"l": 0.41853,
"c": 0.14508,
"h": 15.7
},
"luminance": 0.06409
}Semantic roles & 50–950 ramp
primary
#8A1B31
secondary
#45BCA4
accent
#EAC83E
background
#FBF6F6
surface
#F7EBEB
border
#D0C6C6
text
#120606
muted
#817A7A