#521518#521518
#521518 is a dark, moderate red. Relative luminance 0.024; OKLCH L 29.9% C 0.091 H 21.8°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).
Color values
| HEX | #521518 |
|---|---|
| RGB | rgb(82, 21, 24) |
| HSL | hsl(357, 59%, 20%) |
| HSV | hsv(357, 74%, 32%) |
| CMYK | cmyk(0%, 74.4%, 70.7%, 67.8%) |
| CIE-LAB | lab(17.44, 28.49, 14.16) |
| CIE-LCH | lch(17.44, 31.82, 26.43°) |
| OKLab | oklab(29.93% 0.0841 0.0337) |
| OKLCH | oklch(29.93% 0.091 21.8) |
| XYZ | xyz(3.9131, 2.3967, 1.1205) |
| Luminance | 0.0240 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 4.37
Mahogany
#4A0100
ΔE00 4.48
Deep Brown
#410200
ΔE00 4.80
Claret
#680018
ΔE00 5.63
Dark Maroon
#3C0008
ΔE00 6.07
Rosewood
#65000B
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#521518 #15524F
analogous
#521536 #521518 #523015
triadic
#521518 #185215 #151852
tetradic
#521518 #365215 #15524F #301552
square
#521518 #365215 #15524F #301552
split-complementary
#521518 #155230 #153652
monochromatic
#180607 #21090A #521518 #832126 #B32E35
Accessibility & contrast
On white
14.20
#521518 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#521518 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #521518
14.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##521518 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##521518 | 1.00 | 14.20 | 1.48 | 14.20 |
| #FFFFFF | 14.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#252318
Deuteranopia (green-blind)
#353016
Tritanopia (blue-blind)
#5B0617
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #521518; /* rgb */ color: rgb(82, 21, 24); /* oklch */ color: oklch(29.9% 0.091 21.8);
Tailwind
colors: {
custom: {
50: '#885754',
500: '#521518',
950: '#000000',
},
}SCSS
$custom: #521518; $custom-light: #885754; $custom-dark: #000000;
JSON
{
"hex": "#521518",
"rgb": {
"r": 82,
"g": 21,
"b": 24
},
"hsl": {
"h": 357.049,
"s": 59.223,
"l": 20.196
},
"oklch": {
"l": 0.29933,
"c": 0.09055,
"h": 21.8
},
"luminance": 0.02396
}Semantic roles & 50–950 ramp
primary
#521518
secondary
#398A86
accent
#E2DB45
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878