#520F1C#520F1C
#520F1C is a dark, moderate red. Relative luminance 0.022; OKLCH L 29.3% C 0.097 H 14.9°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).
Color values
| HEX | #520F1C |
|---|---|
| RGB | rgb(82, 15, 28) |
| HSL | hsl(348, 69%, 19%) |
| HSV | hsv(348, 82%, 32%) |
| CMYK | cmyk(0%, 81.7%, 65.9%, 67.8%) |
| CIE-LAB | lab(16.60, 31.35, 10.22) |
| CIE-LCH | lch(16.60, 32.97, 18.06°) |
| OKLab | oklab(29.33% 0.0941 0.025) |
| OKLCH | oklch(29.33% 0.097 14.9) |
| XYZ | xyz(3.8605, 2.2199, 1.3236) |
| Luminance | 0.0222 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy (survey)
#610023
ΔE00 4.40
Maroon (survey)
#650021
ΔE00 4.49
Dark Maroon
#3C0008
ΔE00 5.15
Claret
#680018
ΔE00 5.82
Deep Brown
#410200
ΔE00 5.99
Dried Blood
#4B0101
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#520F1C #0F5245
analogous
#520F3E #520F1C #52240F
triadic
#520F1C #1C520F #0F1C52
tetradic
#520F1C #3E520F #0F5245 #240F52
square
#520F1C #3E520F #0F5245 #240F52
split-complementary
#520F1C #0F5224 #0F3E52
monochromatic
#1A0509 #1E060A #520F1C #86182E #B9223F
Accessibility & contrast
On white
14.54
#520F1C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#520F1C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #520F1C
14.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##520F1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##520F1C | 1.00 | 14.54 | 1.44 | 14.54 |
| #FFFFFF | 14.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#21201C
Deuteranopia (green-blind)
#322E1A
Tritanopia (blue-blind)
#5B0014
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #520f1c; /* rgb */ color: rgb(82, 15, 28); /* oklch */ color: oklch(29.3% 0.097 14.9);
Tailwind
colors: {
custom: {
50: '#885457',
500: '#520f1c',
950: '#000000',
},
}SCSS
$custom: #520f1c; $custom-light: #885457; $custom-dark: #000000;
JSON
{
"hex": "#520f1c",
"rgb": {
"r": 82,
"g": 15,
"b": 28
},
"hsl": {
"h": 348.358,
"s": 69.072,
"l": 19.02
},
"oklch": {
"l": 0.29333,
"c": 0.09736,
"h": 14.9
},
"luminance": 0.02219
}Semantic roles & 50–950 ramp
primary
#520F1C
secondary
#318C7A
accent
#ECCA3C
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878