#521218#521218
#521218 is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.6% C 0.094 H 20.1°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).
Color values
| HEX | #521218 |
|---|---|
| RGB | rgb(82, 18, 24) |
| HSL | hsl(354, 64%, 20%) |
| HSV | hsv(354, 78%, 32%) |
| CMYK | cmyk(0%, 78%, 70.7%, 67.8%) |
| CIE-LAB | lab(16.96, 29.83, 13.54) |
| CIE-LCH | lch(16.96, 32.76, 24.41°) |
| OKLab | oklab(29.57% 0.0883 0.0323) |
| OKLCH | oklch(29.57% 0.094 20.1) |
| XYZ | xyz(3.8613, 2.2930, 1.1032) |
| Luminance | 0.0229 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 4.40
Mahogany
#4A0100
ΔE00 4.53
Deep Brown
#410200
ΔE00 4.71
Claret
#680018
ΔE00 5.26
Dark Maroon
#3C0008
ΔE00 5.54
Maroon (survey)
#650021
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#521218 #12524C
analogous
#521238 #521218 #522C12
triadic
#521218 #185212 #121852
tetradic
#521218 #385212 #12524C #2C1252
square
#521218 #385212 #12524C #2C1252
split-complementary
#521218 #12522C #123852
monochromatic
#190607 #200709 #521218 #841D27 #B62835
Accessibility & contrast
On white
14.40
#521218 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#521218 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #521218
14.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##521218 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##521218 | 1.00 | 14.40 | 1.46 | 14.40 |
| #FFFFFF | 14.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#242118
Deuteranopia (green-blind)
#342F16
Tritanopia (blue-blind)
#5B0115
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #521218; /* rgb */ color: rgb(82, 18, 24); /* oklch */ color: oklch(29.6% 0.094 20.1);
Tailwind
colors: {
custom: {
50: '#885554',
500: '#521218',
950: '#000000',
},
}SCSS
$custom: #521218; $custom-light: #885554; $custom-dark: #000000;
JSON
{
"hex": "#521218",
"rgb": {
"r": 82,
"g": 18,
"b": 24
},
"hsl": {
"h": 354.375,
"s": 64,
"l": 19.608
},
"oklch": {
"l": 0.29568,
"c": 0.09404,
"h": 20.1
},
"luminance": 0.02292
}Semantic roles & 50–950 ramp
primary
#521218
secondary
#358B83
accent
#E7D741
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878