#521418#521418
#521418 is a dark, moderate red. Relative luminance 0.024; OKLCH L 29.8% C 0.092 H 21.2°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).
Color values
| HEX | #521418 |
|---|---|
| RGB | rgb(82, 20, 24) |
| HSL | hsl(356, 61%, 20%) |
| HSV | hsv(356, 76%, 32%) |
| CMYK | cmyk(0%, 75.6%, 70.7%, 67.8%) |
| CIE-LAB | lab(17.28, 28.95, 13.95) |
| CIE-LCH | lch(17.28, 32.14, 25.73°) |
| OKLab | oklab(29.81% 0.0855 0.0332) |
| OKLCH | oklch(29.81% 0.092 21.2) |
| XYZ | xyz(3.8951, 2.3607, 1.1145) |
| Luminance | 0.0236 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 4.36
Mahogany
#4A0100
ΔE00 4.48
Deep Brown
#410200
ΔE00 4.75
Claret
#680018
ΔE00 5.48
Dark Maroon
#3C0008
ΔE00 5.88
Maroon (survey)
#650021
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#521418 #14524E
analogous
#521437 #521418 #522F14
triadic
#521418 #185214 #141852
tetradic
#521418 #375214 #14524E #2F1452
square
#521418 #375214 #14524E #2F1452
split-complementary
#521418 #14522F #143752
monochromatic
#190607 #21080A #521418 #832026 #B42C35
Accessibility & contrast
On white
14.27
#521418 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#521418 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #521418
14.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##521418 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##521418 | 1.00 | 14.27 | 1.47 | 14.27 |
| #FFFFFF | 14.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#252218
Deuteranopia (green-blind)
#342F16
Tritanopia (blue-blind)
#5B0416
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #521418; /* rgb */ color: rgb(82, 20, 24); /* oklch */ color: oklch(29.8% 0.092 21.2);
Tailwind
colors: {
custom: {
50: '#885654',
500: '#521418',
950: '#000000',
},
}SCSS
$custom: #521418; $custom-light: #885654; $custom-dark: #000000;
JSON
{
"hex": "#521418",
"rgb": {
"r": 82,
"g": 20,
"b": 24
},
"hsl": {
"h": 356.129,
"s": 60.784,
"l": 20
},
"oklch": {
"l": 0.29808,
"c": 0.09174,
"h": 21.2
},
"luminance": 0.0236
}Semantic roles & 50–950 ramp
primary
#521418
secondary
#388A85
accent
#E4DA44
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878