#521115#521115
#521115 is a dark, moderate red. Relative luminance 0.022; OKLCH L 29.4% C 0.095 H 22.1°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).
Color values
| HEX | #521115 |
|---|---|
| RGB | rgb(82, 17, 21) |
| HSL | hsl(356, 66%, 19%) |
| HSV | hsv(356, 79%, 32%) |
| CMYK | cmyk(0%, 79.3%, 74.4%, 67.8%) |
| CIE-LAB | lab(16.75, 30.06, 15.39) |
| CIE-LCH | lch(16.75, 33.77, 27.11°) |
| OKLab | oklab(29.39% 0.0884 0.036) |
| OKLCH | oklch(29.39% 0.095 22.1) |
| XYZ | xyz(3.8159, 2.2494, 0.9426) |
| Luminance | 0.0225 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 3.51
Mahogany
#4A0100
ΔE00 3.64
Deep Brown
#410200
ΔE00 4.25
Claret
#680018
ΔE00 5.19
Rosewood
#65000B
ΔE00 5.61
Dark Maroon
#3C0008
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#521115 #11524E
analogous
#521136 #521115 #522E11
triadic
#521115 #155211 #111552
tetradic
#521115 #365211 #11524E #2E1152
square
#521115 #365211 #11524E #2E1152
split-complementary
#521115 #11522E #113652
monochromatic
#190506 #1F0608 #521115 #851C22 #B7262F
Accessibility & contrast
On white
14.48
#521115 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#521115 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #521115
14.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##521115 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##521115 | 1.00 | 14.48 | 1.45 | 14.48 |
| #FFFFFF | 14.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#232015
Deuteranopia (green-blind)
#342E13
Tritanopia (blue-blind)
#5B0013
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #521115; /* rgb */ color: rgb(82, 17, 21); /* oklch */ color: oklch(29.4% 0.095 22.1);
Tailwind
colors: {
custom: {
50: '#885552',
500: '#521115',
950: '#000000',
},
}SCSS
$custom: #521115; $custom-light: #885552; $custom-dark: #000000;
JSON
{
"hex": "#521115",
"rgb": {
"r": 82,
"g": 17,
"b": 21
},
"hsl": {
"h": 356.308,
"s": 65.657,
"l": 19.412
},
"oklch": {
"l": 0.29394,
"c": 0.09538,
"h": 22.1
},
"luminance": 0.02249
}Semantic roles & 50–950 ramp
primary
#521115
secondary
#348B86
accent
#E9DE3F
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878