#8A1931#8A1931
#8A1931 is a dark, vivid red. Relative luminance 0.063; OKLCH L 41.7% C 0.147 H 15.2°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1931 |
|---|---|
| RGB | rgb(138, 25, 49) |
| HSL | hsl(347, 69%, 32%) |
| HSV | hsv(347, 82%, 54%) |
| CMYK | cmyk(0%, 81.9%, 64.5%, 45.9%) |
| CIE-LAB | lab(30.21, 47.28, 15.93) |
| CIE-LCH | lch(30.21, 49.89, 18.61°) |
| OKLab | oklab(41.69% 0.1416 0.0386) |
| OKLCH | oklch(41.69% 0.147 15.2) |
| XYZ | xyz(11.3845, 6.3220, 3.5260) |
| Luminance | 0.0632 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Wine
#8C0034
ΔE00 3.23
Wine Red
#7B0323
ΔE00 4.11
Cranberry
#9E003A
ΔE00 4.29
Burgundy
#800020
ΔE00 4.31
Bordeaux
#7B002C
ΔE00 4.66
Rouge
#AB1239
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1931 #198A72
analogous
#8A1969 #8A1931 #8A3A19
triadic
#8A1931 #318A19 #19318A
tetradic
#8A1931 #698A19 #198A72 #3A198A
square
#8A1931 #698A19 #198A72 #3A198A
split-complementary
#8A1931 #198A3A #19698A
monochromatic
#22060C #56101F #8A1931 #BE2243 #DD4162
Accessibility & contrast
On white
9.28
#8A1931 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#8A1931 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1931
9.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1931 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1931 | 1.00 | 9.28 | 2.26 | 9.28 |
| #FFFFFF | 9.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A3831
Deuteranopia (green-blind)
#574F2E
Tritanopia (blue-blind)
#980024
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #8a1931; /* rgb */ color: rgb(138, 25, 49); /* oklch */ color: oklch(41.7% 0.147 15.2);
Tailwind
colors: {
custom: {
50: '#b36268',
500: '#8a1931',
950: '#000000',
},
}SCSS
$custom: #8a1931; $custom-light: #b36268; $custom-dark: #000000;
JSON
{
"hex": "#8a1931",
"rgb": {
"r": 138,
"g": 25,
"b": 49
},
"hsl": {
"h": 347.257,
"s": 69.325,
"l": 31.961
},
"oklch": {
"l": 0.41694,
"c": 0.1468,
"h": 15.2
},
"luminance": 0.0632
}Semantic roles & 50–950 ramp
primary
#8A1931
secondary
#42BDA3
accent
#ECC73C
background
#FBF6F6
surface
#F7EBEB
border
#D0C6C6
text
#120606
muted
#817A7A