#521312#521312
#521312 is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.6% C 0.094 H 25.7°. Best body text is #FFFFFF at 14.38:1 contrast (WCAG AA passes).
Color values
| HEX | #521312 |
|---|---|
| RGB | rgb(82, 19, 18) |
| HSL | hsl(1, 64%, 20%) |
| HSV | hsv(1, 78%, 32%) |
| CMYK | cmyk(0%, 76.8%, 78%, 67.8%) |
| CIE-LAB | lab(17.01, 29.03, 17.66) |
| CIE-LCH | lch(17.01, 33.98, 31.31°) |
| OKLab | oklab(29.57% 0.0843 0.0406) |
| OKLCH | oklch(29.57% 0.094 25.7) |
| XYZ | xyz(3.8222, 2.3038, 0.8156) |
| Luminance | 0.0230 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 3.23
Mahogany
#4A0100
ΔE00 3.32
Deep Brown
#410200
ΔE00 4.44
Rosewood
#65000B
ΔE00 5.12
Claret
#680018
ΔE00 5.94
Dark Maroon
#3C0008
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#521312 #125152
analogous
#521231 #521312 #523312
triadic
#521312 #125213 #131252
tetradic
#521312 #315212 #125152 #331252
square
#521312 #315212 #125152 #331252
split-complementary
#521312 #125233 #123152
monochromatic
#190606 #200707 #521312 #841F1D #B62A28
Accessibility & contrast
On white
14.38
#521312 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#521312 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #521312
14.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##521312 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##521312 | 1.00 | 14.38 | 1.46 | 14.38 |
| #FFFFFF | 14.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#252111
Deuteranopia (green-blind)
#352F10
Tritanopia (blue-blind)
#5B0113
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #521312; /* rgb */ color: rgb(82, 19, 18); /* oklch */ color: oklch(29.6% 0.094 25.7);
Tailwind
colors: {
custom: {
50: '#885650',
500: '#521312',
950: '#000000',
},
}SCSS
$custom: #521312; $custom-light: #885650; $custom-dark: #000000;
JSON
{
"hex": "#521312",
"rgb": {
"r": 82,
"g": 19,
"b": 18
},
"hsl": {
"h": 0.938,
"s": 64,
"l": 19.608
},
"oklch": {
"l": 0.29573,
"c": 0.09361,
"h": 25.7
},
"luminance": 0.02303
}Semantic roles & 50–950 ramp
primary
#521312
secondary
#358A8B
accent
#E4E741
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878