#520F0F#520F0F
#520F0F is a dark, moderate red. Relative luminance 0.022; OKLCH L 29.1% C 0.098 H 25.8°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).
Color values
| HEX | #520F0F |
|---|---|
| RGB | rgb(82, 15, 15) |
| HSL | hsl(0, 69%, 19%) |
| HSV | hsv(0, 82%, 32%) |
| CMYK | cmyk(0%, 81.7%, 81.7%, 67.8%) |
| CIE-LAB | lab(16.36, 30.55, 18.56) |
| CIE-LCH | lch(16.36, 35.75, 31.29°) |
| OKLab | oklab(29.07% 0.0884 0.0427) |
| OKLCH | oklch(29.07% 0.098 25.8) |
| XYZ | xyz(3.7372, 2.1706, 0.6740) |
| Luminance | 0.0217 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 2.54
Mahogany
#4A0100
ΔE00 2.66
Deep Brown
#410200
ΔE00 4.12
Rosewood
#65000B
ΔE00 4.63
Claret
#680018
ΔE00 5.67
Dark Maroon
#3C0008
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#520F0F #0F5252
analogous
#520F31 #520F0F #52310F
triadic
#520F0F #0F520F #0F0F52
tetradic
#520F0F #31520F #0F5252 #310F52
square
#520F0F #31520F #0F5252 #310F52
split-complementary
#520F0F #0F5231 #0F3152
monochromatic
#1A0505 #1E0606 #520F0F #861818 #B92222
Accessibility & contrast
On white
14.64
#520F0F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#520F0F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #520F0F
14.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##520F0F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##520F0F | 1.00 | 14.64 | 1.43 | 14.64 |
| #FFFFFF | 14.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#231F0E
Deuteranopia (green-blind)
#342E0C
Tritanopia (blue-blind)
#5B0010
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #520f0f; /* rgb */ color: rgb(82, 15, 15); /* oklch */ color: oklch(29.1% 0.098 25.8);
Tailwind
colors: {
custom: {
50: '#89544d',
500: '#520f0f',
950: '#000000',
},
}SCSS
$custom: #520f0f; $custom-light: #89544d; $custom-dark: #000000;
JSON
{
"hex": "#520f0f",
"rgb": {
"r": 82,
"g": 15,
"b": 15
},
"hsl": {
"h": 0,
"s": 69.072,
"l": 19.02
},
"oklch": {
"l": 0.29074,
"c": 0.09815,
"h": 25.8
},
"luminance": 0.0217
}Semantic roles & 50–950 ramp
primary
#520F0F
secondary
#318C8C
accent
#ECEC3C
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0D0301
muted
#7D7877