#542020#542020
#542020 is a dark, moderate red. Relative luminance 0.030; OKLCH L 32.1% C 0.078 H 22.5°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).
Color values
| HEX | #542020 |
|---|---|
| RGB | rgb(84, 32, 32) |
| HSL | hsl(0, 45%, 23%) |
| HSV | hsv(0, 62%, 33%) |
| CMYK | cmyk(0%, 61.9%, 61.9%, 67.1%) |
| CIE-LAB | lab(20.13, 24.24, 12.16) |
| CIE-LCH | lch(20.13, 27.12, 26.63°) |
| OKLab | oklab(32.08% 0.072 0.0298) |
| OKLCH | oklch(32.08% 0.078 22.5) |
| XYZ | xyz(4.4338, 3.0227, 1.7162) |
| Luminance | 0.0302 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 6.87
Mahogany
#4A0100
ΔE00 6.95
Deep Brown
#410200
ΔE00 7.06
Claret
#680018
ΔE00 7.30
Wine
#722F37
ΔE00 7.60
Maroon (survey)
#650021
ΔE00 7.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#542020 #205454
analogous
#54203A #542020 #543A20
triadic
#542020 #205420 #202054
tetradic
#542020 #3A5420 #205454 #3A2054
square
#542020 #3A5420 #205454 #3A2054
split-complementary
#542020 #20543A #203A54
monochromatic
#160808 #280F0F #542020 #803131 #AD4242
Accessibility & contrast
On white
13.09
#542020 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#542020 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #542020
13.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##542020 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##542020 | 1.00 | 13.09 | 1.60 | 13.09 |
| #FFFFFF | 13.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D2A20
Deuteranopia (green-blind)
#3A351F
Tritanopia (blue-blind)
#5C1720
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #542020; /* rgb */ color: rgb(84, 32, 32); /* oklch */ color: oklch(32.1% 0.078 22.5);
Tailwind
colors: {
custom: {
50: '#885e5b',
500: '#542020',
950: '#000000',
},
}SCSS
$custom: #542020; $custom-light: #885e5b; $custom-dark: #000000;
JSON
{
"hex": "#542020",
"rgb": {
"r": 84,
"g": 32,
"b": 32
},
"hsl": {
"h": 0,
"s": 44.828,
"l": 22.745
},
"oklch": {
"l": 0.32081,
"c": 0.07793,
"h": 22.5
},
"luminance": 0.03022
}Semantic roles & 50–950 ramp
primary
#542020
secondary
#478989
accent
#D5D553
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0404
muted
#7D7979