#520D0F#520D0F
#520D0F is a dark, moderate red. Relative luminance 0.021; OKLCH L 28.9% C 0.100 H 24.8°. Best body text is #FFFFFF at 14.76:1 contrast (WCAG AA passes).
Color values
| HEX | #520D0F |
|---|---|
| RGB | rgb(82, 13, 15) |
| HSL | hsl(358, 73%, 19%) |
| HSV | hsv(358, 84%, 32%) |
| CMYK | cmyk(0%, 84.1%, 81.7%, 67.8%) |
| CIE-LAB | lab(16.09, 31.30, 18.23) |
| CIE-LCH | lch(16.09, 36.22, 30.21°) |
| OKLab | oklab(28.87% 0.0908 0.042) |
| OKLCH | oklch(28.87% 0.1 24.8) |
| XYZ | xyz(3.7103, 2.1168, 0.6651) |
| Luminance | 0.0212 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 2.32
Mahogany
#4A0100
ΔE00 2.47
Deep Brown
#410200
ΔE00 3.92
Rosewood
#65000B
ΔE00 4.58
Claret
#680018
ΔE00 5.34
Dark Maroon
#3C0008
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#520D0F #0D5250
analogous
#520D31 #520D0F #522D0D
triadic
#520D0F #0F520D #0D0F52
tetradic
#520D0F #31520D #0D5250 #2D0D52
square
#520D0F #31520D #0D5250 #2D0D52
split-complementary
#520D0F #0D522D #0D3152
monochromatic
#1A0405 #1D0505 #520D0F #871519 #BC1E22
Accessibility & contrast
On white
14.76
#520D0F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.42
#520D0F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #520D0F
14.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##520D0F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##520D0F | 1.00 | 14.76 | 1.42 | 14.76 |
| #FFFFFF | 14.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#221E0E
Deuteranopia (green-blind)
#332D0C
Tritanopia (blue-blind)
#5B000F
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #520d0f; /* rgb */ color: rgb(82, 13, 15); /* oklch */ color: oklch(28.9% 0.100 24.8);
Tailwind
colors: {
custom: {
50: '#89534d',
500: '#520d0f',
950: '#000000',
},
}SCSS
$custom: #520d0f; $custom-light: #89534d; $custom-dark: #000000;
JSON
{
"hex": "#520d0f",
"rgb": {
"r": 82,
"g": 13,
"b": 15
},
"hsl": {
"h": 358.261,
"s": 72.632,
"l": 18.627
},
"oklch": {
"l": 0.28874,
"c": 0.10002,
"h": 24.8
},
"luminance": 0.02116
}Semantic roles & 50–950 ramp
primary
#520D0F
secondary
#2E8D8A
accent
#EFEA38
background
#F9F4F4
surface
#F1E7E7
border
#CBC3C3
text
#0D0301
muted
#7E7877