#520F1D#520F1D
#520F1D is a dark, moderate red. Relative luminance 0.022; OKLCH L 29.4% C 0.097 H 14.0°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).
Color values
| HEX | #520F1D |
|---|---|
| RGB | rgb(82, 15, 29) |
| HSL | hsl(347, 69%, 19%) |
| HSV | hsv(347, 82%, 32%) |
| CMYK | cmyk(0%, 81.7%, 64.6%, 67.8%) |
| CIE-LAB | lab(16.63, 31.43, 9.53) |
| CIE-LCH | lch(16.63, 32.84, 16.88°) |
| OKLab | oklab(29.36% 0.0945 0.0235) |
| OKLCH | oklch(29.36% 0.097 14) |
| XYZ | xyz(3.8727, 2.2248, 1.3877) |
| Luminance | 0.0222 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy (survey)
#610023
ΔE00 4.17
Maroon (survey)
#650021
ΔE00 4.42
Dark Maroon
#3C0008
ΔE00 5.25
Claret
#680018
ΔE00 6.08
Deep Brown
#410200
ΔE00 6.33
Dried Blood
#4B0101
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#520F1D #0F5244
analogous
#520F3F #520F1D #52230F
triadic
#520F1D #1D520F #0F1D52
tetradic
#520F1D #3F520F #0F5244 #230F52
square
#520F1D #3F520F #0F5244 #230F52
split-complementary
#520F1D #0F5223 #0F3F52
monochromatic
#1A0509 #1E060B #520F1D #86182F #B92242
Accessibility & contrast
On white
14.53
#520F1D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#520F1D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #520F1D
14.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##520F1D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##520F1D | 1.00 | 14.53 | 1.44 | 14.53 |
| #FFFFFF | 14.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#21201D
Deuteranopia (green-blind)
#322E1B
Tritanopia (blue-blind)
#5A0015
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #520f1d; /* rgb */ color: rgb(82, 15, 29); /* oklch */ color: oklch(29.4% 0.097 14.0);
Tailwind
colors: {
custom: {
50: '#885458',
500: '#520f1d',
950: '#000000',
},
}SCSS
$custom: #520f1d; $custom-light: #885458; $custom-dark: #000000;
JSON
{
"hex": "#520f1d",
"rgb": {
"r": 82,
"g": 15,
"b": 29
},
"hsl": {
"h": 347.463,
"s": 69.072,
"l": 19.02
},
"oklch": {
"l": 0.29359,
"c": 0.09742,
"h": 14
},
"luminance": 0.02224
}Semantic roles & 50–950 ramp
primary
#520F1D
secondary
#318C79
accent
#ECC73C
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878