#521815#521815
#521815 is a dark, moderate red. Relative luminance 0.025; OKLCH L 30.3% C 0.087 H 26.6°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).
Color values
| HEX | #521815 |
|---|---|
| RGB | rgb(82, 24, 21) |
| HSL | hsl(3, 59%, 20%) |
| HSV | hsv(3, 74%, 32%) |
| CMYK | cmyk(0%, 70.7%, 74.4%, 67.8%) |
| CIE-LAB | lab(17.93, 26.84, 16.83) |
| CIE-LCH | lch(17.93, 31.68, 32.09°) |
| OKLab | oklab(30.28% 0.0781 0.0391) |
| OKLCH | oklch(30.28% 0.087 26.6) |
| XYZ | xyz(3.9421, 2.5018, 0.9846) |
| Luminance | 0.0250 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 4.28
Mahogany
#4A0100
ΔE00 4.35
Deep Brown
#410200
ΔE00 5.15
Rosewood
#65000B
ΔE00 5.89
Claret
#680018
ΔE00 6.62
Dark Maroon
#3C0008
ΔE00 7.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#521815 #154F52
analogous
#521530 #521815 #523615
triadic
#521815 #155218 #181552
tetradic
#521815 #305215 #154F52 #361552
square
#521815 #305215 #154F52 #361552
split-complementary
#521815 #155236 #153052
monochromatic
#180706 #210A09 #521815 #832621 #B3352E
Accessibility & contrast
On white
14.00
#521815 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#521815 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #521815
14.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##521815 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##521815 | 1.00 | 14.00 | 1.50 | 14.00 |
| #FFFFFF | 14.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#282414
Deuteranopia (green-blind)
#363013
Tritanopia (blue-blind)
#5B0A18
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #521815; /* rgb */ color: rgb(82, 24, 21); /* oklch */ color: oklch(30.3% 0.087 26.6);
Tailwind
colors: {
custom: {
50: '#885852',
500: '#521815',
950: '#000000',
},
}SCSS
$custom: #521815; $custom-light: #885852; $custom-dark: #000000;
JSON
{
"hex": "#521815",
"rgb": {
"r": 82,
"g": 24,
"b": 21
},
"hsl": {
"h": 2.951,
"s": 59.223,
"l": 20.196
},
"oklch": {
"l": 0.30277,
"c": 0.08739,
"h": 26.6
},
"luminance": 0.02501
}Semantic roles & 50–950 ramp
primary
#521815
secondary
#39868A
accent
#DBE245
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878