#520D20#520D20

#520D20 is a dark, moderate pink. Relative luminance 0.022; OKLCH L 29.2% C 0.100 H 10.3°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#520D20
RGBrgb(82, 13, 32)
HSLhsl(343, 73%, 19%)
HSVhsv(343, 84%, 32%)
CMYKcmyk(0%, 84.1%, 61%, 67.8%)
CIE-LABlab(16.44, 32.42, 7.11)
CIE-LCHlch(16.44, 33.19, 12.36°)
OKLaboklab(29.24% 0.0983 0.0179)
OKLCHoklch(29.24% 0.1 10.3)
XYZxyz(3.8847, 2.1865, 1.5837)
Luminance0.0219 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520D20 #0D523F
analogous
#520D42 #520D20 #521C0D
triadic
#520D20 #20520D #0D2052
tetradic
#520D20 #42520D #0D523F #1C0D52
square
#520D20 #42520D #0D523F #1C0D52
split-complementary
#520D20 #0D521C #0D4252
monochromatic
#1A040A #1D050B #520D20 #871535 #BC1E49

Accessibility & contrast

On white

14.61
#520D20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#520D20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #520D20
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520D20#FFFFFF#000000##FFFFFF
##520D201.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202020
Deuteranopia (green-blind)
#312E1E
Tritanopia (blue-blind)
#5A0015
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #520d20;
/* rgb */ color: rgb(82, 13, 32);
/* oklch */ color: oklch(29.2% 0.100 10.3);
Tailwind
colors: {
  custom: {
    50: '#87535b',
    500: '#520d20',
    950: '#000000',
  },
}
SCSS
$custom: #520d20;
$custom-light: #87535b;
$custom-dark: #000000;
JSON
{
  "hex": "#520d20",
  "rgb": {
    "r": 82,
    "g": 13,
    "b": 32
  },
  "hsl": {
    "h": 343.478,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.29244,
    "c": 0.09991,
    "h": 10.3
  },
  "luminance": 0.02186
}

Semantic roles & 50–950 ramp

primary
#520D20
secondary
#2E8D73
accent
#EFBD38
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0304
muted
#7D7879

Preview Lab

Preview with #520D20

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#520D20 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva