#8A2840#8A2840
#8A2840 is a dark, vivid red. Relative luminance 0.073; OKLCH L 43.5% C 0.133 H 10.1°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2840 |
|---|---|
| RGB | rgb(138, 40, 64) |
| HSL | hsl(345, 55%, 35%) |
| HSV | hsv(345, 71%, 54%) |
| CMYK | cmyk(0%, 71%, 53.6%, 45.9%) |
| CIE-LAB | lab(32.46, 43.09, 9.11) |
| CIE-LCH | lch(32.46, 44.04, 11.94°) |
| OKLab | oklab(43.48% 0.1307 0.0232) |
| OKLCH | oklch(43.48% 0.133 10.1) |
| XYZ | xyz(12.1665, 7.2926, 5.6164) |
| Luminance | 0.0729 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Wine
#8C0034
ΔE00 4.27
Cranberry
#9E003A
ΔE00 4.82
Purple Red
#990147
ΔE00 5.28
Berry
#990F4B
ΔE00 5.34
Wine
#722F37
ΔE00 5.73
Bordeaux
#7B002C
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2840 #288A72
analogous
#8A2871 #8A2840 #8A4128
triadic
#8A2840 #408A28 #28408A
tetradic
#8A2840 #718A28 #288A72 #41288A
square
#8A2840 #718A28 #288A72 #41288A
split-complementary
#8A2840 #288A41 #28718A
monochromatic
#2B0C14 #5B1A2A #8A2840 #B93656 #D05D79
Accessibility & contrast
On white
8.54
#8A2840 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#8A2840 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2840
8.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2840 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2840 | 1.00 | 8.54 | 2.46 | 8.54 |
| #FFFFFF | 8.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#404040
Deuteranopia (green-blind)
#59543E
Tritanopia (blue-blind)
#971532
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #8a2840; /* rgb */ color: rgb(138, 40, 64); /* oklch */ color: oklch(43.5% 0.133 10.1);
Tailwind
colors: {
custom: {
50: '#b16974',
500: '#8a2840',
950: '#000000',
},
}SCSS
$custom: #8a2840; $custom-light: #b16974; $custom-dark: #000000;
JSON
{
"hex": "#8a2840",
"rgb": {
"r": 138,
"g": 40,
"b": 64
},
"hsl": {
"h": 345.306,
"s": 55.056,
"l": 34.902
},
"oklch": {
"l": 0.43475,
"c": 0.13277,
"h": 10.1
},
"luminance": 0.07291
}Semantic roles & 50–950 ramp
primary
#8A2840
secondary
#59B59F
accent
#DEBA49
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120708
muted
#817A7B