#521018#521018
#521018 is a dark, moderate red. Relative luminance 0.022; OKLCH L 29.3% C 0.096 H 19.0°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).
Color values
| HEX | #521018 |
|---|---|
| RGB | rgb(82, 16, 24) |
| HSL | hsl(353, 67%, 19%) |
| HSV | hsv(353, 80%, 32%) |
| CMYK | cmyk(0%, 80.5%, 70.7%, 67.8%) |
| CIE-LAB | lab(16.66, 30.67, 13.16) |
| CIE-LCH | lch(16.66, 33.37, 23.23°) |
| OKLab | oklab(29.35% 0.091 0.0314) |
| OKLCH | oklch(29.35% 0.096 19) |
| XYZ | xyz(3.8302, 2.2309, 1.0929) |
| Luminance | 0.0223 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 4.52
Mahogany
#4A0100
ΔE00 4.66
Deep Brown
#410200
ΔE00 4.75
Claret
#680018
ΔE00 5.13
Dark Maroon
#3C0008
ΔE00 5.28
Maroon (survey)
#650021
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#521018 #10524A
analogous
#521039 #521018 #522910
triadic
#521018 #185210 #101852
tetradic
#521018 #395210 #10524A #291052
square
#521018 #395210 #10524A #291052
split-complementary
#521018 #105229 #103952
monochromatic
#1A0507 #1F0609 #521018 #851A27 #B82436
Accessibility & contrast
On white
14.52
#521018 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#521018 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #521018
14.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##521018 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##521018 | 1.00 | 14.52 | 1.45 | 14.52 |
| #FFFFFF | 14.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#232018
Deuteranopia (green-blind)
#332E16
Tritanopia (blue-blind)
#5B0014
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #521018; /* rgb */ color: rgb(82, 16, 24); /* oklch */ color: oklch(29.3% 0.096 19.0);
Tailwind
colors: {
custom: {
50: '#885454',
500: '#521018',
950: '#000000',
},
}SCSS
$custom: #521018; $custom-light: #885454; $custom-dark: #000000;
JSON
{
"hex": "#521018",
"rgb": {
"r": 82,
"g": 16,
"b": 24
},
"hsl": {
"h": 352.727,
"s": 67.347,
"l": 19.216
},
"oklch": {
"l": 0.29345,
"c": 0.09625,
"h": 19
},
"luminance": 0.0223
}Semantic roles & 50–950 ramp
primary
#521018
secondary
#328C81
accent
#EAD53E
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878