#522222#522222
#522222 is a dark, moderate red. Relative luminance 0.031; OKLCH L 32.1% C 0.072 H 22.0°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).
Color values
| HEX | #522222 |
|---|---|
| RGB | rgb(82, 34, 34) |
| HSL | hsl(0, 41%, 23%) |
| HSV | hsv(0, 59%, 32%) |
| CMYK | cmyk(0%, 58.5%, 58.5%, 67.8%) |
| CIE-LAB | lab(20.26, 22.44, 10.88) |
| CIE-LCH | lch(20.26, 24.93, 25.87°) |
| OKLab | oklab(32.12% 0.0669 0.027) |
| OKLCH | oklch(32.12% 0.072 22) |
| XYZ | xyz(4.3408, 3.0539, 1.8739) |
| Luminance | 0.0305 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Deep Brown
#410200
ΔE00 7.61
Dried Blood
#4B0101
ΔE00 7.68
Mahogany
#4A0100
ΔE00 7.74
Wine
#722F37
ΔE00 7.74
Purple Brown
#673A3F
ΔE00 8.02
Dark Maroon
#3C0008
ΔE00 8.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#522222 #225252
analogous
#52223A #522222 #523A22
triadic
#522222 #225222 #222252
tetradic
#522222 #3A5222 #225252 #3A2252
square
#522222 #3A5222 #225252 #3A2252
split-complementary
#522222 #22523A #223A52
monochromatic
#160909 #271010 #522222 #7D3434 #A94646
Accessibility & contrast
On white
13.04
#522222 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#522222 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #522222
13.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##522222 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##522222 | 1.00 | 13.04 | 1.61 | 13.04 |
| #FFFFFF | 13.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D2B22
Deuteranopia (green-blind)
#393521
Tritanopia (blue-blind)
#5A1A22
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #522222; /* rgb */ color: rgb(82, 34, 34); /* oklch */ color: oklch(32.1% 0.072 22.0);
Tailwind
colors: {
custom: {
50: '#865f5c',
500: '#522222',
950: '#000000',
},
}SCSS
$custom: #522222; $custom-light: #865f5c; $custom-dark: #000000;
JSON
{
"hex": "#522222",
"rgb": {
"r": 82,
"g": 34,
"b": 34
},
"hsl": {
"h": 0,
"s": 41.379,
"l": 22.745
},
"oklch": {
"l": 0.32118,
"c": 0.07215,
"h": 22
},
"luminance": 0.03053
}Semantic roles & 50–950 ramp
primary
#522222
secondary
#4A8686
accent
#D1D157
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0404
muted
#7D7979