#521112#521112
#521112 is a dark, moderate red. Relative luminance 0.022; OKLCH L 29.3% C 0.096 H 24.6°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).
Color values
| HEX | #521112 |
|---|---|
| RGB | rgb(82, 17, 18) |
| HSL | hsl(359, 66%, 19%) |
| HSV | hsv(359, 79%, 32%) |
| CMYK | cmyk(0%, 79.3%, 78%, 67.8%) |
| CIE-LAB | lab(16.69, 29.89, 17.27) |
| CIE-LCH | lch(16.69, 34.52, 30.02°) |
| OKLab | oklab(29.34% 0.0871 0.0398) |
| OKLCH | oklch(29.34% 0.096 24.6) |
| XYZ | xyz(3.7897, 2.2390, 0.8048) |
| Luminance | 0.0224 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 2.96
Mahogany
#4A0100
ΔE00 3.08
Deep Brown
#410200
ΔE00 4.18
Rosewood
#65000B
ΔE00 5.02
Claret
#680018
ΔE00 5.54
Dark Maroon
#3C0008
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#521112 #115251
analogous
#521133 #521112 #523111
triadic
#521112 #125211 #111252
tetradic
#521112 #335211 #115251 #311152
square
#521112 #335211 #115251 #311152
split-complementary
#521112 #115231 #113352
monochromatic
#190506 #1F0607 #521112 #851C1D #B72628
Accessibility & contrast
On white
14.51
#521112 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#521112 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #521112
14.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##521112 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##521112 | 1.00 | 14.51 | 1.45 | 14.51 |
| #FFFFFF | 14.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#242011
Deuteranopia (green-blind)
#342E10
Tritanopia (blue-blind)
#5B0012
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #521112; /* rgb */ color: rgb(82, 17, 18); /* oklch */ color: oklch(29.3% 0.096 24.6);
Tailwind
colors: {
custom: {
50: '#89554f',
500: '#521112',
950: '#000000',
},
}SCSS
$custom: #521112; $custom-light: #89554f; $custom-dark: #000000;
JSON
{
"hex": "#521112",
"rgb": {
"r": 82,
"g": 17,
"b": 18
},
"hsl": {
"h": 359.077,
"s": 65.657,
"l": 19.412
},
"oklch": {
"l": 0.29339,
"c": 0.09573,
"h": 24.6
},
"luminance": 0.02238
}Semantic roles & 50–950 ramp
primary
#521112
secondary
#348B8A
accent
#E9E63F
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0D0302
muted
#7D7878