#521215#521215
#521215 is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.5% C 0.094 H 22.7°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).
Color values
| HEX | #521215 |
|---|---|
| RGB | rgb(82, 18, 21) |
| HSL | hsl(357, 64%, 20%) |
| HSV | hsv(357, 78%, 32%) |
| CMYK | cmyk(0%, 78%, 74.4%, 67.8%) |
| CIE-LAB | lab(16.90, 29.64, 15.58) |
| CIE-LCH | lch(16.90, 33.48, 27.72°) |
| OKLab | oklab(29.51% 0.087 0.0364) |
| OKLCH | oklch(29.51% 0.094 22.7) |
| XYZ | xyz(3.8318, 2.2812, 0.9479) |
| Luminance | 0.0228 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 3.53
Mahogany
#4A0100
ΔE00 3.65
Deep Brown
#410200
ΔE00 4.31
Claret
#680018
ΔE00 5.33
Rosewood
#65000B
ΔE00 5.59
Dark Maroon
#3C0008
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#521215 #12524F
analogous
#521235 #521215 #522F12
triadic
#521215 #155212 #121552
tetradic
#521215 #355212 #12524F #2F1252
square
#521215 #355212 #12524F #2F1252
split-complementary
#521215 #12522F #123552
monochromatic
#190606 #200708 #521215 #841D22 #B6282F
Accessibility & contrast
On white
14.42
#521215 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#521215 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #521215
14.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##521215 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##521215 | 1.00 | 14.42 | 1.46 | 14.42 |
| #FFFFFF | 14.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#242115
Deuteranopia (green-blind)
#342F13
Tritanopia (blue-blind)
#5B0014
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #521215; /* rgb */ color: rgb(82, 18, 21); /* oklch */ color: oklch(29.5% 0.094 22.7);
Tailwind
colors: {
custom: {
50: '#885552',
500: '#521215',
950: '#000000',
},
}SCSS
$custom: #521215; $custom-light: #885552; $custom-dark: #000000;
JSON
{
"hex": "#521215",
"rgb": {
"r": 82,
"g": 18,
"b": 21
},
"hsl": {
"h": 357.188,
"s": 64,
"l": 19.608
},
"oklch": {
"l": 0.29508,
"c": 0.0943,
"h": 22.7
},
"luminance": 0.02281
}Semantic roles & 50–950 ramp
primary
#521215
secondary
#358B87
accent
#E7DF41
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878