#802E40#802E40
#802E40 is a dark, moderate red. Relative luminance 0.069; OKLCH L 42.5% C 0.114 H 10.0°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).
Color values
| HEX | #802E40 |
|---|---|
| RGB | rgb(128, 46, 64) |
| HSL | hsl(347, 47%, 34%) |
| HSV | hsv(347, 64%, 50%) |
| CMYK | cmyk(0%, 64.1%, 50%, 49.8%) |
| CIE-LAB | lab(31.61, 36.99, 7.65) |
| CIE-LCH | lch(31.61, 37.77, 11.68°) |
| OKLab | oklab(42.49% 0.1122 0.0197) |
| OKLCH | oklch(42.49% 0.114 10) |
| XYZ | xyz(10.8053, 6.9147, 5.6151) |
| Luminance | 0.0691 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine
#722F37
ΔE00 3.84
Red Wine
#8C0034
ΔE00 5.83
Brownish Purple
#76424E
ΔE00 6.50
Bordeaux
#7B002C
ΔE00 6.51
Berry
#990F4B
ΔE00 6.93
Purple Red
#990147
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#802E40 #2E806E
analogous
#802E69 #802E40 #80452E
triadic
#802E40 #40802E #2E4080
tetradic
#802E40 #69802E #2E806E #452E80
square
#802E40 #69802E #2E806E #452E80
split-complementary
#802E40 #2E8045 #2E6980
monochromatic
#260E13 #531E29 #802E40 #AD3E57 #C76278
Accessibility & contrast
On white
8.81
#802E40 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#802E40 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #802E40
8.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##802E40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##802E40 | 1.00 | 8.81 | 2.38 | 8.81 |
| #FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#404040
Deuteranopia (green-blind)
#55513E
Tritanopia (blue-blind)
#8B2235
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #802e40; /* rgb */ color: rgb(128, 46, 64); /* oklch */ color: oklch(42.5% 0.114 10.0);
Tailwind
colors: {
custom: {
50: '#a96b74',
500: '#802e40',
950: '#000000',
},
}SCSS
$custom: #802e40; $custom-light: #a96b74; $custom-dark: #000000;
JSON
{
"hex": "#802e40",
"rgb": {
"r": 128,
"g": 46,
"b": 64
},
"hsl": {
"h": 346.829,
"s": 47.126,
"l": 34.118
},
"oklch": {
"l": 0.42493,
"c": 0.11395,
"h": 10
},
"luminance": 0.06913
}Semantic roles & 50–950 ramp
primary
#802E40
secondary
#5DAD9B
accent
#D7B951
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100708
muted
#7F7A7B