#521718#521718
#521718 is a dark, moderate red. Relative luminance 0.025; OKLCH L 30.2% C 0.088 H 23.2°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).
Color values
| HEX | #521718 |
|---|---|
| RGB | rgb(82, 23, 24) |
| HSL | hsl(359, 56%, 21%) |
| HSV | hsv(359, 72%, 32%) |
| CMYK | cmyk(0%, 72%, 70.7%, 67.8%) |
| CIE-LAB | lab(17.80, 27.53, 14.60) |
| CIE-LCH | lch(17.80, 31.17, 27.94°) |
| OKLab | oklab(30.2% 0.081 0.0347) |
| OKLCH | oklch(30.2% 0.088 23.2) |
| XYZ | xyz(3.9513, 2.4731, 1.1333) |
| Luminance | 0.0247 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 4.48
Mahogany
#4A0100
ΔE00 4.57
Deep Brown
#410200
ΔE00 4.97
Claret
#680018
ΔE00 5.98
Rosewood
#65000B
ΔE00 6.30
Dark Maroon
#3C0008
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#521718 #175251
analogous
#521735 #521718 #523317
triadic
#521718 #185217 #171852
tetradic
#521718 #355217 #175251 #331752
square
#521718 #355217 #175251 #331752
split-complementary
#521718 #175233 #173552
monochromatic
#180707 #220A0A #521718 #822426 #B23234
Accessibility & contrast
On white
14.05
#521718 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#521718 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #521718
14.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##521718 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##521718 | 1.00 | 14.05 | 1.49 | 14.05 |
| #FFFFFF | 14.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#272418
Deuteranopia (green-blind)
#363016
Tritanopia (blue-blind)
#5B0918
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #521718; /* rgb */ color: rgb(82, 23, 24); /* oklch */ color: oklch(30.2% 0.088 23.2);
Tailwind
colors: {
custom: {
50: '#885854',
500: '#521718',
950: '#000000',
},
}SCSS
$custom: #521718; $custom-light: #885854; $custom-dark: #000000;
JSON
{
"hex": "#521718",
"rgb": {
"r": 82,
"g": 23,
"b": 24
},
"hsl": {
"h": 358.983,
"s": 56.19,
"l": 20.588
},
"oklch": {
"l": 0.30197,
"c": 0.08813,
"h": 23.2
},
"luminance": 0.02473
}Semantic roles & 50–950 ramp
primary
#521718
secondary
#3C8988
accent
#DFDD48
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878