#521213#521213
#521213 is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.5% C 0.095 H 24.3°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).
Color values
| HEX | #521213 |
|---|---|
| RGB | rgb(82, 18, 19) |
| HSL | hsl(359, 64%, 20%) |
| HSV | hsv(359, 78%, 32%) |
| CMYK | cmyk(0%, 78%, 76.8%, 67.8%) |
| CIE-LAB | lab(16.86, 29.52, 16.86) |
| CIE-LCH | lch(16.86, 34.00, 29.73°) |
| OKLab | oklab(29.47% 0.0861 0.039) |
| OKLCH | oklch(29.47% 0.095 24.3) |
| XYZ | xyz(3.8139, 2.2740, 0.8541) |
| Luminance | 0.0227 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 3.17
Mahogany
#4A0100
ΔE00 3.29
Deep Brown
#410200
ΔE00 4.26
Rosewood
#65000B
ΔE00 5.20
Claret
#680018
ΔE00 5.57
Dark Maroon
#3C0008
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#521213 #125251
analogous
#521233 #521213 #523112
triadic
#521213 #135212 #121352
tetradic
#521213 #335212 #125251 #311252
square
#521213 #335212 #125251 #311252
split-complementary
#521213 #125231 #123352
monochromatic
#190606 #200707 #521213 #841D1F #B6282A
Accessibility & contrast
On white
14.44
#521213 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#521213 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #521213
14.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##521213 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##521213 | 1.00 | 14.44 | 1.45 | 14.44 |
| #FFFFFF | 14.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#242112
Deuteranopia (green-blind)
#342F11
Tritanopia (blue-blind)
#5B0013
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #521213; /* rgb */ color: rgb(82, 18, 19); /* oklch */ color: oklch(29.5% 0.095 24.3);
Tailwind
colors: {
custom: {
50: '#885550',
500: '#521213',
950: '#000000',
},
}SCSS
$custom: #521213; $custom-light: #885550; $custom-dark: #000000;
JSON
{
"hex": "#521213",
"rgb": {
"r": 82,
"g": 18,
"b": 19
},
"hsl": {
"h": 359.063,
"s": 64,
"l": 19.608
},
"oklch": {
"l": 0.29471,
"c": 0.09454,
"h": 24.3
},
"luminance": 0.02273
}Semantic roles & 50–950 ramp
primary
#521213
secondary
#358B8A
accent
#E7E441
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878