#52211B#52211B
#52211B is a dark, moderate red. Relative luminance 0.030; OKLCH L 31.8% C 0.075 H 29.0°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).
Color values
| HEX | #52211B |
|---|---|
| RGB | rgb(82, 33, 27) |
| HSL | hsl(7, 50%, 21%) |
| HSV | hsv(7, 67%, 32%) |
| CMYK | cmyk(0%, 59.8%, 67.1%, 67.8%) |
| CIE-LAB | lab(19.89, 22.38, 15.18) |
| CIE-LCH | lch(19.89, 27.05, 34.14°) |
| OKLab | oklab(31.79% 0.0655 0.0363) |
| OKLCH | oklch(31.79% 0.075 29) |
| XYZ | xyz(4.2217, 2.9612, 1.3859) |
| Luminance | 0.0296 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 6.72
Mahogany
#4A0100
ΔE00 6.75
Deep Brown
#410200
ΔE00 7.14
Chocolate Brown
#411900
ΔE00 7.37
Rosewood
#65000B
ΔE00 7.90
Claret
#680018
ΔE00 8.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#52211B #1B4C52
analogous
#521B31 #52211B #523D1B
triadic
#52211B #1B5221 #211B52
tetradic
#52211B #31521B #1B4C52 #3D1B52
square
#52211B #31521B #1B4C52 #3D1B52
split-complementary
#52211B #1B523D #1B3152
monochromatic
#170908 #240E0C #52211B #80342A #AE4639
Accessibility & contrast
On white
13.19
#52211B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#52211B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #52211B
13.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##52211B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##52211B | 1.00 | 13.19 | 1.59 | 13.19 |
| #FFFFFF | 13.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D2A1A
Deuteranopia (green-blind)
#39341A
Tritanopia (blue-blind)
#5A1820
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #52211b; /* rgb */ color: rgb(82, 33, 27); /* oklch */ color: oklch(31.8% 0.075 29.0);
Tailwind
colors: {
custom: {
50: '#875e57',
500: '#52211b',
950: '#000000',
},
}SCSS
$custom: #52211b; $custom-light: #875e57; $custom-dark: #000000;
JSON
{
"hex": "#52211b",
"rgb": {
"r": 82,
"g": 33,
"b": 27
},
"hsl": {
"h": 6.545,
"s": 50.459,
"l": 21.373
},
"oklch": {
"l": 0.3179,
"c": 0.07489,
"h": 29
},
"luminance": 0.02961
}Semantic roles & 50–950 ramp
primary
#52211B
secondary
#418088
accent
#CBDA4E
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0403
muted
#7D7978