#521118#521118
#521118 is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.5% C 0.095 H 19.5°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).
Color values
| HEX | #521118 |
|---|---|
| RGB | rgb(82, 17, 24) |
| HSL | hsl(354, 66%, 19%) |
| HSV | hsv(354, 79%, 32%) |
| CMYK | cmyk(0%, 79.3%, 70.7%, 67.8%) |
| CIE-LAB | lab(16.80, 30.26, 13.35) |
| CIE-LCH | lch(16.80, 33.07, 23.80°) |
| OKLab | oklab(29.45% 0.0897 0.0318) |
| OKLCH | oklch(29.45% 0.095 19.5) |
| XYZ | xyz(3.8454, 2.2612, 1.0980) |
| Luminance | 0.0226 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 4.46
Mahogany
#4A0100
ΔE00 4.59
Deep Brown
#410200
ΔE00 4.73
Claret
#680018
ΔE00 5.19
Dark Maroon
#3C0008
ΔE00 5.40
Maroon (survey)
#650021
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#521118 #11524B
analogous
#521139 #521118 #522A11
triadic
#521118 #185211 #111852
tetradic
#521118 #395211 #11524B #2A1152
square
#521118 #395211 #11524B #2A1152
split-complementary
#521118 #11522A #113952
monochromatic
#190507 #1F0609 #521118 #851C27 #B72636
Accessibility & contrast
On white
14.46
#521118 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#521118 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #521118
14.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##521118 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##521118 | 1.00 | 14.46 | 1.45 | 14.46 |
| #FFFFFF | 14.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#232118
Deuteranopia (green-blind)
#342E16
Tritanopia (blue-blind)
#5B0014
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #521118; /* rgb */ color: rgb(82, 17, 24); /* oklch */ color: oklch(29.5% 0.095 19.5);
Tailwind
colors: {
custom: {
50: '#885554',
500: '#521118',
950: '#000000',
},
}SCSS
$custom: #521118; $custom-light: #885554; $custom-dark: #000000;
JSON
{
"hex": "#521118",
"rgb": {
"r": 82,
"g": 17,
"b": 24
},
"hsl": {
"h": 353.538,
"s": 65.657,
"l": 19.412
},
"oklch": {
"l": 0.29454,
"c": 0.09516,
"h": 19.5
},
"luminance": 0.02261
}Semantic roles & 50–950 ramp
primary
#521118
secondary
#348B82
accent
#E9D63F
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878