#842020#842020
#842020 is a dark, vivid red. Relative luminance 0.060; OKLCH L 40.9% C 0.135 H 25.5°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).
Color values
| HEX | #842020 |
|---|---|
| RGB | rgb(132, 32, 32) |
| HSL | hsl(0, 61%, 32%) |
| HSV | hsv(0, 76%, 52%) |
| CMYK | cmyk(0%, 75.8%, 75.8%, 48.2%) |
| CIE-LAB | lab(29.52, 42.11, 25.80) |
| CIE-LCH | lch(29.52, 49.38, 31.50°) |
| OKLab | oklab(40.87% 0.1221 0.0583) |
| OKLCH | oklch(40.87% 0.135 25.5) |
| XYZ | xyz(10.2941, 6.0444, 1.9909) |
| Luminance | 0.0604 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 4.16
Burgundy
#800020
ΔE00 5.27
Carmine
#9D0216
ΔE00 5.37
Indian Red
#850E04
ΔE00 5.95
Maroon
#800000
ΔE00 6.10
Blood
#770001
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#842020 #208484
analogous
#842052 #842020 #845220
triadic
#842020 #208420 #202084
tetradic
#842020 #528420 #208484 #522084
square
#842020 #528420 #208484 #522084
split-complementary
#842020 #208452 #205284
monochromatic
#210808 #531414 #842020 #B52C2C #D34B4B
Accessibility & contrast
On white
9.51
#842020 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#842020 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #842020
9.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##842020 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##842020 | 1.00 | 9.51 | 2.21 | 9.51 |
| #FFFFFF | 9.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D381F
Deuteranopia (green-blind)
#564D1C
Tritanopia (blue-blind)
#920021
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #842020; /* rgb */ color: rgb(132, 32, 32); /* oklch */ color: oklch(40.9% 0.135 25.5);
Tailwind
colors: {
custom: {
50: '#af645b',
500: '#842020',
950: '#000000',
},
}SCSS
$custom: #842020; $custom-light: #af645b; $custom-dark: #000000;
JSON
{
"hex": "#842020",
"rgb": {
"r": 132,
"g": 32,
"b": 32
},
"hsl": {
"h": 0,
"s": 60.976,
"l": 32.157
},
"oklch": {
"l": 0.4087,
"c": 0.1353,
"h": 25.5
},
"luminance": 0.06043
}Semantic roles & 50–950 ramp
primary
#842020
secondary
#4AB6B6
accent
#E4E444
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120604
muted
#817A79