#522221#522221
#522221 is a dark, moderate red. Relative luminance 0.030; OKLCH L 32.1% C 0.072 H 23.2°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).
Color values
| HEX | #522221 |
|---|---|
| RGB | rgb(82, 34, 33) |
| HSL | hsl(1, 43%, 23%) |
| HSV | hsv(1, 60%, 32%) |
| CMYK | cmyk(0%, 58.5%, 59.8%, 67.8%) |
| CIE-LAB | lab(20.24, 22.34, 11.54) |
| CIE-LCH | lch(20.24, 25.14, 27.31°) |
| OKLab | oklab(32.09% 0.0665 0.0285) |
| OKLCH | oklch(32.09% 0.072 23.2) |
| XYZ | xyz(4.3266, 3.0482, 1.7991) |
| Luminance | 0.0305 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 7.49
Deep Brown
#410200
ΔE00 7.49
Mahogany
#4A0100
ΔE00 7.54
Wine
#722F37
ΔE00 7.93
Claret
#680018
ΔE00 8.23
Purple Brown
#673A3F
ΔE00 8.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#522221 #215152
analogous
#522139 #522221 #523A21
triadic
#522221 #215222 #222152
tetradic
#522221 #395221 #215152 #3A2152
square
#522221 #395221 #215152 #3A2152
split-complementary
#522221 #21523A #213952
monochromatic
#160909 #26100F #522221 #7E3433 #A94644
Accessibility & contrast
On white
13.05
#522221 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#522221 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #522221
13.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##522221 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##522221 | 1.00 | 13.05 | 1.61 | 13.05 |
| #FFFFFF | 13.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D2B21
Deuteranopia (green-blind)
#393520
Tritanopia (blue-blind)
#5A1A22
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #522221; /* rgb */ color: rgb(82, 34, 33); /* oklch */ color: oklch(32.1% 0.072 23.2);
Tailwind
colors: {
custom: {
50: '#865f5c',
500: '#522221',
950: '#000000',
},
}SCSS
$custom: #522221; $custom-light: #865f5c; $custom-dark: #000000;
JSON
{
"hex": "#522221",
"rgb": {
"r": 82,
"g": 34,
"b": 33
},
"hsl": {
"h": 1.224,
"s": 42.609,
"l": 22.549
},
"oklch": {
"l": 0.32094,
"c": 0.0723,
"h": 23.2
},
"luminance": 0.03048
}Semantic roles & 50–950 ramp
primary
#522221
secondary
#498586
accent
#D0D255
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0404
muted
#7D7979