#521012#521012
#521012 is a dark, moderate red. Relative luminance 0.022; OKLCH L 29.2% C 0.097 H 24.1°. Best body text is #FFFFFF at 14.57:1 contrast (WCAG AA passes).
Color values
| HEX | #521012 |
|---|---|
| RGB | rgb(82, 16, 18) |
| HSL | hsl(358, 67%, 19%) |
| HSV | hsv(358, 80%, 32%) |
| CMYK | cmyk(0%, 80.5%, 78%, 67.8%) |
| CIE-LAB | lab(16.55, 30.30, 17.09) |
| CIE-LCH | lch(16.55, 34.79, 29.42°) |
| OKLab | oklab(29.23% 0.0884 0.0395) |
| OKLCH | oklch(29.23% 0.097 24.1) |
| XYZ | xyz(3.7746, 2.2087, 0.7997) |
| Luminance | 0.0221 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 2.87
Mahogany
#4A0100
ΔE00 3.00
Deep Brown
#410200
ΔE00 4.08
Rosewood
#65000B
ΔE00 5.01
Claret
#680018
ΔE00 5.36
Dark Maroon
#3C0008
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#521012 #105250
analogous
#521033 #521012 #522F10
triadic
#521012 #125210 #101252
tetradic
#521012 #335210 #105250 #2F1052
square
#521012 #335210 #105250 #2F1052
split-complementary
#521012 #10522F #103352
monochromatic
#1A0506 #1F0607 #521012 #851A1D #B82428
Accessibility & contrast
On white
14.57
#521012 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#521012 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #521012
14.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##521012 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##521012 | 1.00 | 14.57 | 1.44 | 14.57 |
| #FFFFFF | 14.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#232011
Deuteranopia (green-blind)
#342E10
Tritanopia (blue-blind)
#5B0011
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #521012; /* rgb */ color: rgb(82, 16, 18); /* oklch */ color: oklch(29.2% 0.097 24.1);
Tailwind
colors: {
custom: {
50: '#89544f',
500: '#521012',
950: '#000000',
},
}SCSS
$custom: #521012; $custom-light: #89544f; $custom-dark: #000000;
JSON
{
"hex": "#521012",
"rgb": {
"r": 82,
"g": 16,
"b": 18
},
"hsl": {
"h": 358.182,
"s": 67.347,
"l": 19.216
},
"oklch": {
"l": 0.29229,
"c": 0.09677,
"h": 24.1
},
"luminance": 0.02208
}Semantic roles & 50–950 ramp
primary
#521012
secondary
#328C89
accent
#EAE53E
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0D0302
muted
#7D7878