#520B1F#520B1F
#520B1F is a dark, moderate pink. Relative luminance 0.021; OKLCH L 29.0% C 0.102 H 10.6°. Best body text is #FFFFFF at 14.72:1 contrast (WCAG AA passes).
Color values
| HEX | #520B1F |
|---|---|
| RGB | rgb(82, 11, 31) |
| HSL | hsl(343, 76%, 18%) |
| HSV | hsv(343, 87%, 32%) |
| CMYK | cmyk(0%, 86.6%, 62.2%, 67.8%) |
| CIE-LAB | lab(16.17, 33.01, 7.46) |
| CIE-LCH | lch(16.17, 33.85, 12.74°) |
| OKLab | oklab(29.04% 0.1 0.0187) |
| OKLCH | oklch(29.04% 0.102 10.6) |
| XYZ | xyz(3.8471, 2.1327, 1.5051) |
| Luminance | 0.0213 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 3.41
Maroon (survey)
#650021
ΔE00 4.28
Dark Maroon
#3C0008
ΔE00 5.62
Claret
#680018
ΔE00 6.96
Deep Brown
#410200
ΔE00 7.48
Dried Blood
#4B0101
ΔE00 8.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#520B1F #0B523E
analogous
#520B42 #520B1F #521B0B
triadic
#520B1F #1F520B #0B1F52
tetradic
#520B1F #42520B #0B523E #1B0B52
square
#520B1F #42520B #0B523E #1B0B52
split-complementary
#520B1F #0B521B #0B4252
monochromatic
#1B040A #1C040B #520B1F #881233 #BE1948
Accessibility & contrast
On white
14.72
#520B1F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#520B1F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #520B1F
14.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##520B1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##520B1F | 1.00 | 14.72 | 1.43 | 14.72 |
| #FFFFFF | 14.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F1F1F
Deuteranopia (green-blind)
#312D1D
Tritanopia (blue-blind)
#5A0014
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #520b1f; /* rgb */ color: rgb(82, 11, 31); /* oklch */ color: oklch(29.0% 0.102 10.6);
Tailwind
colors: {
custom: {
50: '#88535a',
500: '#520b1f',
950: '#000000',
},
}SCSS
$custom: #520b1f; $custom-light: #88535a; $custom-dark: #000000;
JSON
{
"hex": "#520b1f",
"rgb": {
"r": 82,
"g": 11,
"b": 31
},
"hsl": {
"h": 343.099,
"s": 76.344,
"l": 18.235
},
"oklch": {
"l": 0.29038,
"c": 0.10177,
"h": 10.6
},
"luminance": 0.02132
}Semantic roles & 50–950 ramp
primary
#520B1F
secondary
#2B8E72
accent
#F3BD35
background
#F8F4F5
surface
#F0E7E9
border
#CBC3C5
text
#0C0303
muted
#7D7878