#521715#521715
#521715 is a dark, moderate red. Relative luminance 0.025; OKLCH L 30.1% C 0.089 H 25.9°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).
Color values
| HEX | #521715 |
|---|---|
| RGB | rgb(82, 23, 21) |
| HSL | hsl(2, 59%, 20%) |
| HSV | hsv(2, 74%, 32%) |
| CMYK | cmyk(0%, 72%, 74.4%, 67.8%) |
| CIE-LAB | lab(17.74, 27.33, 16.60) |
| CIE-LCH | lch(17.74, 31.98, 31.28°) |
| OKLab | oklab(30.14% 0.0797 0.0386) |
| OKLCH | oklch(30.14% 0.089 25.9) |
| XYZ | xyz(3.9218, 2.4613, 0.9779) |
| Luminance | 0.0246 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 4.08
Mahogany
#4A0100
ΔE00 4.16
Deep Brown
#410200
ΔE00 4.95
Rosewood
#65000B
ΔE00 5.78
Claret
#680018
ΔE00 6.36
Dark Maroon
#3C0008
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#521715 #155052
analogous
#521532 #521715 #523515
triadic
#521715 #155217 #171552
tetradic
#521715 #325215 #155052 #351552
square
#521715 #325215 #155052 #351552
split-complementary
#521715 #155235 #153252
monochromatic
#180706 #210909 #521715 #832521 #B3322E
Accessibility & contrast
On white
14.07
#521715 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#521715 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #521715
14.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##521715 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##521715 | 1.00 | 14.07 | 1.49 | 14.07 |
| #FFFFFF | 14.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#272314
Deuteranopia (green-blind)
#363013
Tritanopia (blue-blind)
#5B0817
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #521715; /* rgb */ color: rgb(82, 23, 21); /* oklch */ color: oklch(30.1% 0.089 25.9);
Tailwind
colors: {
custom: {
50: '#885852',
500: '#521715',
950: '#000000',
},
}SCSS
$custom: #521715; $custom-light: #885852; $custom-dark: #000000;
JSON
{
"hex": "#521715",
"rgb": {
"r": 82,
"g": 23,
"b": 21
},
"hsl": {
"h": 1.967,
"s": 59.223,
"l": 20.196
},
"oklch": {
"l": 0.30139,
"c": 0.08858,
"h": 25.9
},
"luminance": 0.02461
}Semantic roles & 50–950 ramp
primary
#521715
secondary
#39878A
accent
#DDE245
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878