#521211#521211
#521211 is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.4% C 0.095 H 25.9°. Best body text is #FFFFFF at 14.45:1 contrast (WCAG AA passes).
Color values
| HEX | #521211 |
|---|---|
| RGB | rgb(82, 18, 17) |
| HSL | hsl(1, 66%, 19%) |
| HSV | hsv(1, 79%, 32%) |
| CMYK | cmyk(0%, 78%, 79.3%, 67.8%) |
| CIE-LAB | lab(16.83, 29.41, 18.04) |
| CIE-LCH | lch(16.83, 34.50, 31.52°) |
| OKLab | oklab(29.44% 0.0853 0.0414) |
| OKLCH | oklch(29.44% 0.095 25.9) |
| XYZ | xyz(3.7976, 2.2675, 0.7679) |
| Luminance | 0.0227 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 3.03
Mahogany
#4A0100
ΔE00 3.13
Deep Brown
#410200
ΔE00 4.37
Rosewood
#65000B
ΔE00 4.96
Claret
#680018
ΔE00 5.90
Dark Maroon
#3C0008
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#521211 #115152
analogous
#521131 #521211 #523311
triadic
#521211 #115212 #121152
tetradic
#521211 #315211 #115152 #331152
square
#521211 #315211 #115152 #331152
split-complementary
#521211 #115233 #113152
monochromatic
#190605 #1F0706 #521211 #851D1C #B72826
Accessibility & contrast
On white
14.45
#521211 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#521211 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #521211
14.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##521211 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##521211 | 1.00 | 14.45 | 1.45 | 14.45 |
| #FFFFFF | 14.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#242110
Deuteranopia (green-blind)
#342F0F
Tritanopia (blue-blind)
#5B0013
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #521211; /* rgb */ color: rgb(82, 18, 17); /* oklch */ color: oklch(29.4% 0.095 25.9);
Tailwind
colors: {
custom: {
50: '#89554f',
500: '#521211',
950: '#000000',
},
}SCSS
$custom: #521211; $custom-light: #89554f; $custom-dark: #000000;
JSON
{
"hex": "#521211",
"rgb": {
"r": 82,
"g": 18,
"b": 17
},
"hsl": {
"h": 0.923,
"s": 65.657,
"l": 19.412
},
"oklch": {
"l": 0.29437,
"c": 0.09482,
"h": 25.9
},
"luminance": 0.02267
}Semantic roles & 50–950 ramp
primary
#521211
secondary
#348A8B
accent
#E6E93F
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0D0302
muted
#7D7878