#8A2831#8A2831
#8A2831 is a dark, vivid red. Relative luminance 0.071; OKLCH L 43.1% C 0.132 H 19.6°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2831 |
|---|---|
| RGB | rgb(138, 40, 49) |
| HSL | hsl(354, 55%, 35%) |
| HSV | hsv(354, 71%, 54%) |
| CMYK | cmyk(0%, 71%, 64.5%, 45.9%) |
| CIE-LAB | lab(32.13, 41.93, 18.42) |
| CIE-LCH | lch(32.13, 45.80, 23.72°) |
| OKLab | oklab(43.12% 0.1245 0.0443) |
| OKLCH | oklch(43.12% 0.132 19.6) |
| XYZ | xyz(11.7956, 7.1443, 3.6630) |
| Luminance | 0.0714 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 5.34
Wine Red
#7B0323
ΔE00 5.84
Wine
#722F37
ΔE00 6.15
Red Wine
#8C0034
ΔE00 6.43
Cranberry
#9E003A
ΔE00 6.46
Rouge
#AB1239
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2831 #288A81
analogous
#8A2862 #8A2831 #8A5028
triadic
#8A2831 #318A28 #28318A
tetradic
#8A2831 #628A28 #288A81 #50288A
square
#8A2831 #628A28 #288A81 #50288A
split-complementary
#8A2831 #288A50 #28628A
monochromatic
#2B0C0F #5B1A20 #8A2831 #B93642 #D05D67
Accessibility & contrast
On white
8.65
#8A2831 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#8A2831 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2831
8.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2831 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2831 | 1.00 | 8.65 | 2.43 | 8.65 |
| #FFFFFF | 8.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#423E31
Deuteranopia (green-blind)
#5B532E
Tritanopia (blue-blind)
#980E2C
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #8a2831; /* rgb */ color: rgb(138, 40, 49); /* oklch */ color: oklch(43.1% 0.132 19.6);
Tailwind
colors: {
custom: {
50: '#b26969',
500: '#8a2831',
950: '#000000',
},
}SCSS
$custom: #8a2831; $custom-light: #b26969; $custom-dark: #000000;
JSON
{
"hex": "#8a2831",
"rgb": {
"r": 138,
"g": 40,
"b": 49
},
"hsl": {
"h": 354.49,
"s": 55.056,
"l": 34.902
},
"oklch": {
"l": 0.43121,
"c": 0.13213,
"h": 19.6
},
"luminance": 0.07143
}Semantic roles & 50–950 ramp
primary
#8A2831
secondary
#59B5AD
accent
#DED149
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120706
muted
#817A7A