#521516#521516
#521516 is a dark, moderate red. Relative luminance 0.024; OKLCH L 29.9% C 0.091 H 23.6°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).
Color values
| HEX | #521516 |
|---|---|
| RGB | rgb(82, 21, 22) |
| HSL | hsl(359, 59%, 20%) |
| HSV | hsv(359, 74%, 32%) |
| CMYK | cmyk(0%, 74.4%, 73.2%, 67.8%) |
| CIE-LAB | lab(17.41, 28.36, 15.51) |
| CIE-LCH | lch(17.41, 32.32, 28.67°) |
| OKLab | oklab(29.89% 0.0832 0.0364) |
| OKLCH | oklch(29.89% 0.091 23.6) |
| XYZ | xyz(3.8931, 2.3887, 1.0150) |
| Luminance | 0.0239 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 3.92
Mahogany
#4A0100
ΔE00 4.02
Deep Brown
#410200
ΔE00 4.63
Claret
#680018
ΔE00 5.76
Rosewood
#65000B
ΔE00 5.82
Dark Maroon
#3C0008
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#521516 #155251
analogous
#521535 #521516 #523215
triadic
#521516 #165215 #151652
tetradic
#521516 #355215 #155251 #321552
square
#521516 #355215 #155251 #321552
split-complementary
#521516 #155232 #153552
monochromatic
#180607 #210909 #521516 #832123 #B32E30
Accessibility & contrast
On white
14.21
#521516 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#521516 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #521516
14.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##521516 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##521516 | 1.00 | 14.21 | 1.48 | 14.21 |
| #FFFFFF | 14.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#262215
Deuteranopia (green-blind)
#353014
Tritanopia (blue-blind)
#5B0516
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #521516; /* rgb */ color: rgb(82, 21, 22); /* oklch */ color: oklch(29.9% 0.091 23.6);
Tailwind
colors: {
custom: {
50: '#885753',
500: '#521516',
950: '#000000',
},
}SCSS
$custom: #521516; $custom-light: #885753; $custom-dark: #000000;
JSON
{
"hex": "#521516",
"rgb": {
"r": 82,
"g": 21,
"b": 22
},
"hsl": {
"h": 359.016,
"s": 59.223,
"l": 20.196
},
"oklch": {
"l": 0.29893,
"c": 0.09078,
"h": 23.6
},
"luminance": 0.02388
}Semantic roles & 50–950 ramp
primary
#521516
secondary
#398A88
accent
#E2E045
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878