#8A2731#8A2731
#8A2731 is a dark, vivid red. Relative luminance 0.071; OKLCH L 43.0% C 0.133 H 19.2°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2731 |
|---|---|
| RGB | rgb(138, 39, 49) |
| HSL | hsl(354, 56%, 35%) |
| HSV | hsv(354, 72%, 54%) |
| CMYK | cmyk(0%, 71.7%, 64.5%, 45.9%) |
| CIE-LAB | lab(31.98, 42.34, 18.23) |
| CIE-LCH | lch(31.98, 46.10, 23.30°) |
| OKLab | oklab(43.01% 0.1258 0.0439) |
| OKLCH | oklch(43.01% 0.133 19.2) |
| XYZ | xyz(11.7623, 7.0777, 3.6519) |
| Luminance | 0.0708 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 5.19
Wine Red
#7B0323
ΔE00 5.66
Wine
#722F37
ΔE00 6.11
Red Wine
#8C0034
ΔE00 6.17
Cranberry
#9E003A
ΔE00 6.25
Rouge
#AB1239
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2731 #278A80
analogous
#8A2763 #8A2731 #8A4E27
triadic
#8A2731 #318A27 #27318A
tetradic
#8A2731 #638A27 #278A80 #4E278A
square
#8A2731 #638A27 #278A80 #4E278A
split-complementary
#8A2731 #278A4E #27638A
monochromatic
#2B0C0F #5A1A20 #8A2731 #BA3442 #D15B67
Accessibility & contrast
On white
8.69
#8A2731 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#8A2731 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2731
8.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2731 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2731 | 1.00 | 8.69 | 2.42 | 8.69 |
| #FFFFFF | 8.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#423E31
Deuteranopia (green-blind)
#5B532E
Tritanopia (blue-blind)
#980B2B
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #8a2731; /* rgb */ color: rgb(138, 39, 49); /* oklch */ color: oklch(43.0% 0.133 19.2);
Tailwind
colors: {
custom: {
50: '#b26869',
500: '#8a2731',
950: '#000000',
},
}SCSS
$custom: #8a2731; $custom-light: #b26869; $custom-dark: #000000;
JSON
{
"hex": "#8a2731",
"rgb": {
"r": 138,
"g": 39,
"b": 49
},
"hsl": {
"h": 353.939,
"s": 55.932,
"l": 34.706
},
"oklch": {
"l": 0.43009,
"c": 0.13322,
"h": 19.2
},
"luminance": 0.07076
}Semantic roles & 50–950 ramp
primary
#8A2731
secondary
#57B6AC
accent
#DFD049
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120706
muted
#817A7A