#521515#521515
#521515 is a dark, moderate red. Relative luminance 0.024; OKLCH L 29.9% C 0.091 H 24.5°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).
Color values
| HEX | #521515 |
|---|---|
| RGB | rgb(82, 21, 21) |
| HSL | hsl(0, 59%, 20%) |
| HSV | hsv(0, 74%, 32%) |
| CMYK | cmyk(0%, 74.4%, 74.4%, 67.8%) |
| CIE-LAB | lab(17.39, 28.29, 16.18) |
| CIE-LCH | lch(17.39, 32.59, 29.76°) |
| OKLab | oklab(29.87% 0.0827 0.0377) |
| OKLCH | oklch(29.87% 0.091 24.5) |
| XYZ | xyz(3.8836, 2.3849, 0.9652) |
| Luminance | 0.0238 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 3.76
Mahogany
#4A0100
ΔE00 3.86
Deep Brown
#410200
ΔE00 4.62
Rosewood
#65000B
ΔE00 5.63
Claret
#680018
ΔE00 5.88
Dark Maroon
#3C0008
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#521515 #155252
analogous
#521533 #521515 #523315
triadic
#521515 #155215 #151552
tetradic
#521515 #335215 #155252 #331552
square
#521515 #335215 #155252 #331552
split-complementary
#521515 #155233 #153352
monochromatic
#180606 #210909 #521515 #832121 #B32E2E
Accessibility & contrast
On white
14.22
#521515 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#521515 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #521515
14.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##521515 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##521515 | 1.00 | 14.22 | 1.48 | 14.22 |
| #FFFFFF | 14.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#262214
Deuteranopia (green-blind)
#353013
Tritanopia (blue-blind)
#5B0516
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #521515; /* rgb */ color: rgb(82, 21, 21); /* oklch */ color: oklch(29.9% 0.091 24.5);
Tailwind
colors: {
custom: {
50: '#885752',
500: '#521515',
950: '#000000',
},
}SCSS
$custom: #521515; $custom-light: #885752; $custom-dark: #000000;
JSON
{
"hex": "#521515",
"rgb": {
"r": 82,
"g": 21,
"b": 21
},
"hsl": {
"h": 0,
"s": 59.223,
"l": 20.196
},
"oklch": {
"l": 0.29874,
"c": 0.09092,
"h": 24.5
},
"luminance": 0.02384
}Semantic roles & 50–950 ramp
primary
#521515
secondary
#398A8A
accent
#E2E245
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878