#520F12#520F12
#520F12 is a dark, moderate red. Relative luminance 0.022; OKLCH L 29.1% C 0.098 H 23.6°. Best body text is #FFFFFF at 14.63:1 contrast (WCAG AA passes).
Color values
| HEX | #520F12 |
|---|---|
| RGB | rgb(82, 15, 18) |
| HSL | hsl(357, 69%, 19%) |
| HSV | hsv(357, 82%, 32%) |
| CMYK | cmyk(0%, 81.7%, 78%, 67.8%) |
| CIE-LAB | lab(16.40, 30.70, 16.91) |
| CIE-LCH | lch(16.40, 35.05, 28.85°) |
| OKLab | oklab(29.12% 0.0896 0.0391) |
| OKLCH | oklch(29.12% 0.098 23.6) |
| XYZ | xyz(3.7601, 2.1797, 0.7949) |
| Luminance | 0.0218 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 2.81
Mahogany
#4A0100
ΔE00 2.95
Deep Brown
#410200
ΔE00 4.00
Rosewood
#65000B
ΔE00 5.01
Claret
#680018
ΔE00 5.21
Dark Maroon
#3C0008
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#520F12 #0F524F
analogous
#520F34 #520F12 #522E0F
triadic
#520F12 #12520F #0F1252
tetradic
#520F12 #34520F #0F524F #2E0F52
square
#520F12 #34520F #0F524F #2E0F52
split-complementary
#520F12 #0F522E #0F3452
monochromatic
#1A0506 #1E0607 #520F12 #86181D #B92229
Accessibility & contrast
On white
14.63
#520F12 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#520F12 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #520F12
14.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##520F12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##520F12 | 1.00 | 14.63 | 1.44 | 14.63 |
| #FFFFFF | 14.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#231F11
Deuteranopia (green-blind)
#342E10
Tritanopia (blue-blind)
#5B0011
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #520f12; /* rgb */ color: rgb(82, 15, 18); /* oklch */ color: oklch(29.1% 0.098 23.6);
Tailwind
colors: {
custom: {
50: '#89544f',
500: '#520f12',
950: '#000000',
},
}SCSS
$custom: #520f12; $custom-light: #89544f; $custom-dark: #000000;
JSON
{
"hex": "#520f12",
"rgb": {
"r": 82,
"g": 15,
"b": 18
},
"hsl": {
"h": 357.313,
"s": 69.072,
"l": 19.02
},
"oklch": {
"l": 0.29123,
"c": 0.09777,
"h": 23.6
},
"luminance": 0.02179
}Semantic roles & 50–950 ramp
primary
#520F12
secondary
#318C88
accent
#ECE43C
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0D0302
muted
#7D7878