#521015#521015
#521015 is a dark, moderate red. Relative luminance 0.022; OKLCH L 29.3% C 0.096 H 21.6°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).
Color values
| HEX | #521015 |
|---|---|
| RGB | rgb(82, 16, 21) |
| HSL | hsl(355, 67%, 19%) |
| HSV | hsv(355, 80%, 32%) |
| CMYK | cmyk(0%, 80.5%, 74.4%, 67.8%) |
| CIE-LAB | lab(16.60, 30.47, 15.21) |
| CIE-LCH | lch(16.60, 34.06, 26.52°) |
| OKLab | oklab(29.28% 0.0896 0.0356) |
| OKLCH | oklch(29.28% 0.096 21.6) |
| XYZ | xyz(3.8007, 2.2191, 0.9375) |
| Luminance | 0.0222 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 3.51
Mahogany
#4A0100
ΔE00 3.65
Deep Brown
#410200
ΔE00 4.22
Claret
#680018
ΔE00 5.07
Rosewood
#65000B
ΔE00 5.65
Dark Maroon
#3C0008
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#521015 #10524D
analogous
#521036 #521015 #522C10
triadic
#521015 #155210 #101552
tetradic
#521015 #365210 #10524D #2C1052
square
#521015 #365210 #10524D #2C1052
split-complementary
#521015 #10522C #103652
monochromatic
#1A0507 #1F0608 #521015 #851A22 #B8242F
Accessibility & contrast
On white
14.54
#521015 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#521015 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #521015
14.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##521015 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##521015 | 1.00 | 14.54 | 1.44 | 14.54 |
| #FFFFFF | 14.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#232015
Deuteranopia (green-blind)
#342E13
Tritanopia (blue-blind)
#5B0012
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #521015; /* rgb */ color: rgb(82, 16, 21); /* oklch */ color: oklch(29.3% 0.096 21.6);
Tailwind
colors: {
custom: {
50: '#885452',
500: '#521015',
950: '#000000',
},
}SCSS
$custom: #521015; $custom-light: #885452; $custom-dark: #000000;
JSON
{
"hex": "#521015",
"rgb": {
"r": 82,
"g": 16,
"b": 21
},
"hsl": {
"h": 355.455,
"s": 67.347,
"l": 19.216
},
"oklch": {
"l": 0.29284,
"c": 0.09644,
"h": 21.6
},
"luminance": 0.02219
}Semantic roles & 50–950 ramp
primary
#521015
secondary
#328C85
accent
#EADD3E
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878