#52201F#52201F
#52201F is a dark, moderate red. Relative luminance 0.029; OKLCH L 31.7% C 0.075 H 23.5°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).
Color values
| HEX | #52201F |
|---|---|
| RGB | rgb(82, 32, 31) |
| HSL | hsl(1, 45%, 22%) |
| HSV | hsv(1, 62%, 32%) |
| CMYK | cmyk(0%, 61%, 62.2%, 67.8%) |
| CIE-LAB | lab(19.75, 23.30, 12.27) |
| CIE-LCH | lch(19.75, 26.34, 27.76°) |
| OKLab | oklab(31.71% 0.0691 0.03) |
| OKLCH | oklch(31.71% 0.075 23.5) |
| XYZ | xyz(4.2439, 2.9263, 1.6374) |
| Luminance | 0.0293 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 6.83
Mahogany
#4A0100
ΔE00 6.89
Deep Brown
#410200
ΔE00 6.92
Claret
#680018
ΔE00 7.74
Dark Maroon
#3C0008
ΔE00 7.91
Wine
#722F37
ΔE00 8.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#52201F #1F5152
analogous
#521F38 #52201F #52391F
triadic
#52201F #1F5220 #201F52
tetradic
#52201F #38521F #1F5152 #391F52
square
#52201F #38521F #1F5152 #391F52
split-complementary
#52201F #1F5239 #1F3852
monochromatic
#160908 #260F0E #52201F #7E3130 #AB4341
Accessibility & contrast
On white
13.25
#52201F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#52201F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #52201F
13.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##52201F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##52201F | 1.00 | 13.25 | 1.59 | 13.25 |
| #FFFFFF | 13.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C291F
Deuteranopia (green-blind)
#39341E
Tritanopia (blue-blind)
#5A1820
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #52201f; /* rgb */ color: rgb(82, 32, 31); /* oklch */ color: oklch(31.7% 0.075 23.5);
Tailwind
colors: {
custom: {
50: '#865d5a',
500: '#52201f',
950: '#000000',
},
}SCSS
$custom: #52201f; $custom-light: #865d5a; $custom-dark: #000000;
JSON
{
"hex": "#52201f",
"rgb": {
"r": 82,
"g": 32,
"b": 31
},
"hsl": {
"h": 1.176,
"s": 45.133,
"l": 22.157
},
"oklch": {
"l": 0.31709,
"c": 0.07537,
"h": 23.5
},
"luminance": 0.02926
}Semantic roles & 50–950 ramp
primary
#52201F
secondary
#468587
accent
#D2D553
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0403
muted
#7D7978