#521315#521315
#521315 is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.6% C 0.093 H 23.3°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).
Color values
| HEX | #521315 |
|---|---|
| RGB | rgb(82, 19, 21) |
| HSL | hsl(358, 62%, 20%) |
| HSV | hsv(358, 77%, 32%) |
| CMYK | cmyk(0%, 76.8%, 74.4%, 67.8%) |
| CIE-LAB | lab(17.06, 29.20, 15.77) |
| CIE-LCH | lch(17.06, 33.19, 28.37°) |
| OKLab | oklab(29.63% 0.0856 0.0368) |
| OKLCH | oklch(29.63% 0.093 23.3) |
| XYZ | xyz(3.8483, 2.3143, 0.9534) |
| Luminance | 0.0231 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 3.57
Mahogany
#4A0100
ΔE00 3.69
Deep Brown
#410200
ΔE00 4.39
Claret
#680018
ΔE00 5.49
Rosewood
#65000B
ΔE00 5.58
Dark Maroon
#3C0008
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#521315 #135250
analogous
#521335 #521315 #523013
triadic
#521315 #155213 #131552
tetradic
#521315 #355213 #135250 #301352
square
#521315 #355213 #135250 #301352
split-complementary
#521315 #135230 #133552
monochromatic
#190606 #200708 #521315 #841F22 #B52A2E
Accessibility & contrast
On white
14.36
#521315 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#521315 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #521315
14.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##521315 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##521315 | 1.00 | 14.36 | 1.46 | 14.36 |
| #FFFFFF | 14.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#252115
Deuteranopia (green-blind)
#342F13
Tritanopia (blue-blind)
#5B0214
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #521315; /* rgb */ color: rgb(82, 19, 21); /* oklch */ color: oklch(29.6% 0.093 23.3);
Tailwind
colors: {
custom: {
50: '#885652',
500: '#521315',
950: '#000000',
},
}SCSS
$custom: #521315; $custom-light: #885652; $custom-dark: #000000;
JSON
{
"hex": "#521315",
"rgb": {
"r": 82,
"g": 19,
"b": 21
},
"hsl": {
"h": 358.095,
"s": 62.376,
"l": 19.804
},
"oklch": {
"l": 0.29626,
"c": 0.09318,
"h": 23.3
},
"luminance": 0.02314
}Semantic roles & 50–950 ramp
primary
#521315
secondary
#368A88
accent
#E5E042
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878