#521512#521512
#521512 is a dark, moderate red. Relative luminance 0.024; OKLCH L 29.8% C 0.091 H 27.0°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).
Color values
| HEX | #521512 |
|---|---|
| RGB | rgb(82, 21, 18) |
| HSL | hsl(3, 64%, 20%) |
| HSV | hsv(3, 78%, 32%) |
| CMYK | cmyk(0%, 74.4%, 78%, 67.8%) |
| CIE-LAB | lab(17.34, 28.12, 18.06) |
| CIE-LCH | lch(17.34, 33.42, 32.72°) |
| OKLab | oklab(29.82% 0.0815 0.0415) |
| OKLCH | oklch(29.82% 0.091 27) |
| XYZ | xyz(3.8574, 2.3744, 0.8273) |
| Luminance | 0.0237 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 3.62
Mahogany
#4A0100
ΔE00 3.69
Deep Brown
#410200
ΔE00 4.80
Rosewood
#65000B
ΔE00 5.31
Claret
#680018
ΔE00 6.42
Dark Maroon
#3C0008
ΔE00 7.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#521512 #124F52
analogous
#52122F #521512 #523512
triadic
#521512 #125215 #151252
tetradic
#521512 #2F5212 #124F52 #351252
square
#521512 #2F5212 #124F52 #351252
split-complementary
#521512 #125235 #122F52
monochromatic
#190606 #200807 #521512 #84221D #B62F28
Accessibility & contrast
On white
14.24
#521512 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#521512 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #521512
14.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##521512 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##521512 | 1.00 | 14.24 | 1.47 | 14.24 |
| #FFFFFF | 14.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#262211
Deuteranopia (green-blind)
#352F10
Tritanopia (blue-blind)
#5B0415
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #521512; /* rgb */ color: rgb(82, 21, 18); /* oklch */ color: oklch(29.8% 0.091 27.0);
Tailwind
colors: {
custom: {
50: '#885750',
500: '#521512',
950: '#000000',
},
}SCSS
$custom: #521512; $custom-light: #885750; $custom-dark: #000000;
JSON
{
"hex": "#521512",
"rgb": {
"r": 82,
"g": 21,
"b": 18
},
"hsl": {
"h": 2.813,
"s": 64,
"l": 19.608
},
"oklch": {
"l": 0.29822,
"c": 0.0914,
"h": 27
},
"luminance": 0.02374
}Semantic roles & 50–950 ramp
primary
#521512
secondary
#35878B
accent
#DFE741
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878