#520F1F#520F1F
#520F1F is a dark, moderate red. Relative luminance 0.022; OKLCH L 29.4% C 0.098 H 12.0°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).
Color values
| HEX | #520F1F |
|---|---|
| RGB | rgb(82, 15, 31) |
| HSL | hsl(346, 69%, 19%) |
| HSV | hsv(346, 82%, 32%) |
| CMYK | cmyk(0%, 81.7%, 62.2%, 67.8%) |
| CIE-LAB | lab(16.68, 31.59, 8.16) |
| CIE-LCH | lch(16.68, 32.62, 14.48°) |
| OKLab | oklab(29.41% 0.0954 0.0204) |
| OKLCH | oklch(29.41% 0.098 12) |
| XYZ | xyz(3.8982, 2.2350, 1.5222) |
| Luminance | 0.0223 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy (survey)
#610023
ΔE00 3.85
Maroon (survey)
#650021
ΔE00 4.43
Dark Maroon
#3C0008
ΔE00 5.54
Claret
#680018
ΔE00 6.67
Deep Brown
#410200
ΔE00 7.06
Dried Blood
#4B0101
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#520F1F #0F5242
analogous
#520F41 #520F1F #52210F
triadic
#520F1F #1F520F #0F1F52
tetradic
#520F1F #41520F #0F5242 #210F52
square
#520F1F #41520F #0F5242 #210F52
split-complementary
#520F1F #0F5221 #0F4152
monochromatic
#1A050A #1E060B #520F1F #861833 #B92246
Accessibility & contrast
On white
14.51
#520F1F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#520F1F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #520F1F
14.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##520F1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##520F1F | 1.00 | 14.51 | 1.45 | 14.51 |
| #FFFFFF | 14.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#21201F
Deuteranopia (green-blind)
#322E1D
Tritanopia (blue-blind)
#5A0016
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #520f1f; /* rgb */ color: rgb(82, 15, 31); /* oklch */ color: oklch(29.4% 0.098 12.0);
Tailwind
colors: {
custom: {
50: '#87545a',
500: '#520f1f',
950: '#000000',
},
}SCSS
$custom: #520f1f; $custom-light: #87545a; $custom-dark: #000000;
JSON
{
"hex": "#520f1f",
"rgb": {
"r": 82,
"g": 15,
"b": 31
},
"hsl": {
"h": 345.672,
"s": 69.072,
"l": 19.02
},
"oklch": {
"l": 0.29412,
"c": 0.0976,
"h": 12
},
"luminance": 0.02234
}Semantic roles & 50–950 ramp
primary
#520F1F
secondary
#318C76
accent
#ECC23C
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878