#521412#521412
#521412 is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.7% C 0.093 H 26.3°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).
Color values
| HEX | #521412 |
|---|---|
| RGB | rgb(82, 20, 18) |
| HSL | hsl(2, 64%, 20%) |
| HSV | hsv(2, 78%, 32%) |
| CMYK | cmyk(0%, 75.6%, 78%, 67.8%) |
| CIE-LAB | lab(17.17, 28.58, 17.86) |
| CIE-LCH | lch(17.17, 33.70, 32.00°) |
| OKLab | oklab(29.7% 0.0829 0.0411) |
| OKLCH | oklch(29.7% 0.093 26.3) |
| XYZ | xyz(3.8394, 2.3384, 0.8213) |
| Luminance | 0.0234 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 3.41
Mahogany
#4A0100
ΔE00 3.49
Deep Brown
#410200
ΔE00 4.61
Rosewood
#65000B
ΔE00 5.20
Claret
#680018
ΔE00 6.17
Dark Maroon
#3C0008
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#521412 #125052
analogous
#521230 #521412 #523412
triadic
#521412 #125214 #141252
tetradic
#521412 #305212 #125052 #341252
square
#521412 #305212 #125052 #341252
split-complementary
#521412 #125234 #123052
monochromatic
#190606 #200807 #521412 #84201D #B62C28
Accessibility & contrast
On white
14.31
#521412 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#521412 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #521412
14.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##521412 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##521412 | 1.00 | 14.31 | 1.47 | 14.31 |
| #FFFFFF | 14.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#262211
Deuteranopia (green-blind)
#352F10
Tritanopia (blue-blind)
#5B0314
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #521412; /* rgb */ color: rgb(82, 20, 18); /* oklch */ color: oklch(29.7% 0.093 26.3);
Tailwind
colors: {
custom: {
50: '#885650',
500: '#521412',
950: '#000000',
},
}SCSS
$custom: #521412; $custom-light: #885650; $custom-dark: #000000;
JSON
{
"hex": "#521412",
"rgb": {
"r": 82,
"g": 20,
"b": 18
},
"hsl": {
"h": 1.875,
"s": 64,
"l": 19.608
},
"oklch": {
"l": 0.29695,
"c": 0.09252,
"h": 26.3
},
"luminance": 0.02338
}Semantic roles & 50–950 ramp
primary
#521412
secondary
#35888B
accent
#E2E741
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878