#521216#521216
#521216 is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.5% C 0.094 H 21.8°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).
Color values
| HEX | #521216 |
|---|---|
| RGB | rgb(82, 18, 22) |
| HSL | hsl(356, 64%, 20%) |
| HSV | hsv(356, 78%, 32%) |
| CMYK | cmyk(0%, 78%, 73.2%, 67.8%) |
| CIE-LAB | lab(16.92, 29.70, 14.90) |
| CIE-LCH | lch(16.92, 33.23, 26.64°) |
| OKLab | oklab(29.53% 0.0874 0.035) |
| OKLCH | oklch(29.53% 0.094 21.8) |
| XYZ | xyz(3.8412, 2.2849, 0.9977) |
| Luminance | 0.0228 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 3.78
Mahogany
#4A0100
ΔE00 3.91
Deep Brown
#410200
ΔE00 4.40
Claret
#680018
ΔE00 5.27
Rosewood
#65000B
ΔE00 5.84
Dark Maroon
#3C0008
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#521216 #12524E
analogous
#521236 #521216 #522E12
triadic
#521216 #165212 #121652
tetradic
#521216 #365212 #12524E #2E1252
square
#521216 #365212 #12524E #2E1252
split-complementary
#521216 #12522E #123652
monochromatic
#190607 #200709 #521216 #841D23 #B62831
Accessibility & contrast
On white
14.42
#521216 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#521216 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #521216
14.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##521216 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##521216 | 1.00 | 14.42 | 1.46 | 14.42 |
| #FFFFFF | 14.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#242116
Deuteranopia (green-blind)
#342F14
Tritanopia (blue-blind)
#5B0114
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #521216; /* rgb */ color: rgb(82, 18, 22); /* oklch */ color: oklch(29.5% 0.094 21.8);
Tailwind
colors: {
custom: {
50: '#885553',
500: '#521216',
950: '#000000',
},
}SCSS
$custom: #521216; $custom-light: #885553; $custom-dark: #000000;
JSON
{
"hex": "#521216",
"rgb": {
"r": 82,
"g": 18,
"b": 22
},
"hsl": {
"h": 356.25,
"s": 64,
"l": 19.608
},
"oklch": {
"l": 0.29527,
"c": 0.0942,
"h": 21.8
},
"luminance": 0.02284
}Semantic roles & 50–950 ramp
primary
#521216
secondary
#358B85
accent
#E7DD41
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878