#520E1F#520E1F
#520E1F is a dark, moderate red. Relative luminance 0.022; OKLCH L 29.3% C 0.099 H 11.7°. Best body text is #FFFFFF at 14.57:1 contrast (WCAG AA passes).
Color values
| HEX | #520E1F |
|---|---|
| RGB | rgb(82, 14, 31) |
| HSL | hsl(345, 71%, 19%) |
| HSV | hsv(345, 83%, 32%) |
| CMYK | cmyk(0%, 82.9%, 62.2%, 67.8%) |
| CIE-LAB | lab(16.54, 31.97, 7.97) |
| CIE-LCH | lch(16.54, 32.95, 14.00°) |
| OKLab | oklab(29.31% 0.0967 0.0199) |
| OKLCH | oklch(29.31% 0.099 11.7) |
| XYZ | xyz(3.8844, 2.2074, 1.5176) |
| Luminance | 0.0221 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy (survey)
#610023
ΔE00 3.71
Maroon (survey)
#650021
ΔE00 4.37
Dark Maroon
#3C0008
ΔE00 5.55
Claret
#680018
ΔE00 6.74
Deep Brown
#410200
ΔE00 7.16
Dried Blood
#4B0101
ΔE00 7.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#520E1F #0E5241
analogous
#520E41 #520E1F #521F0E
triadic
#520E1F #1F520E #0E1F52
tetradic
#520E1F #41520E #0E5241 #1F0E52
square
#520E1F #41520E #0E5241 #1F0E52
split-complementary
#520E1F #0E521F #0E4152
monochromatic
#1A040A #1E050B #520E1F #861733 #BB2047
Accessibility & contrast
On white
14.57
#520E1F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#520E1F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #520E1F
14.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##520E1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##520E1F | 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)
#20201F
Deuteranopia (green-blind)
#322E1D
Tritanopia (blue-blind)
#5A0015
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #520e1f; /* rgb */ color: rgb(82, 14, 31); /* oklch */ color: oklch(29.3% 0.099 11.7);
Tailwind
colors: {
custom: {
50: '#87545a',
500: '#520e1f',
950: '#000000',
},
}SCSS
$custom: #520e1f; $custom-light: #87545a; $custom-dark: #000000;
JSON
{
"hex": "#520e1f",
"rgb": {
"r": 82,
"g": 14,
"b": 31
},
"hsl": {
"h": 345,
"s": 70.833,
"l": 18.824
},
"oklch": {
"l": 0.29312,
"c": 0.09869,
"h": 11.7
},
"luminance": 0.02207
}Semantic roles & 50–950 ramp
primary
#520E1F
secondary
#2F8C75
accent
#EEC13A
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878