#8A2A40#8A2A40
#8A2A40 is a dark, vivid red. Relative luminance 0.074; OKLCH L 43.7% C 0.130 H 10.7°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2A40 |
|---|---|
| RGB | rgb(138, 42, 64) |
| HSL | hsl(346, 53%, 35%) |
| HSV | hsv(346, 70%, 54%) |
| CMYK | cmyk(0%, 69.6%, 53.6%, 45.9%) |
| CIE-LAB | lab(32.77, 42.25, 9.53) |
| CIE-LCH | lch(32.77, 43.32, 12.71°) |
| OKLab | oklab(43.7% 0.1281 0.0243) |
| OKLCH | oklch(43.7% 0.13 10.7) |
| XYZ | xyz(12.2357, 7.4310, 5.6395) |
| Luminance | 0.0743 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Wine
#8C0034
ΔE00 4.58
Cranberry
#9E003A
ΔE00 4.97
Wine
#722F37
ΔE00 5.53
Purple Red
#990147
ΔE00 5.70
Berry
#990F4B
ΔE00 5.73
Bordeaux
#7B002C
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2A40 #2A8A74
analogous
#8A2A70 #8A2A40 #8A442A
triadic
#8A2A40 #408A2A #2A408A
tetradic
#8A2A40 #708A2A #2A8A74 #442A8A
square
#8A2A40 #708A2A #2A8A74 #442A8A
split-complementary
#8A2A40 #2A8A44 #2A708A
monochromatic
#2C0D14 #5B1C2A #8A2A40 #B93856 #CF6079
Accessibility & contrast
On white
8.45
#8A2A40 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#8A2A40 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2A40
8.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2A40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2A40 | 1.00 | 8.45 | 2.49 | 8.45 |
| #FFFFFF | 8.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#414140
Deuteranopia (green-blind)
#5A543E
Tritanopia (blue-blind)
#971833
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #8a2a40; /* rgb */ color: rgb(138, 42, 64); /* oklch */ color: oklch(43.7% 0.130 10.7);
Tailwind
colors: {
custom: {
50: '#b16a74',
500: '#8a2a40',
950: '#000000',
},
}SCSS
$custom: #8a2a40; $custom-light: #b16a74; $custom-dark: #000000;
JSON
{
"hex": "#8a2a40",
"rgb": {
"r": 138,
"g": 42,
"b": 64
},
"hsl": {
"h": 346.25,
"s": 53.333,
"l": 35.294
},
"oklch": {
"l": 0.43701,
"c": 0.13033,
"h": 10.7
},
"luminance": 0.07429
}Semantic roles & 50–950 ramp
primary
#8A2A40
secondary
#5BB4A0
accent
#DDBB4B
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120708
muted
#817A7B