#520D3F#520D3F

#520D3F is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.5% C 0.114 H 341.8°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#520D3F
RGBrgb(82, 13, 63)
HSLhsl(317, 73%, 19%)
HSVhsv(317, 84%, 32%)
CMYKcmyk(0%, 84.1%, 23.2%, 67.8%)
CIE-LABlab(17.65, 36.12, -13.29)
CIE-LCHlch(17.65, 38.49, 339.80°)
OKLaboklab(30.53% 0.1085 -0.0357)
OKLCHoklch(30.53% 0.114 341.8)
XYZxyz(4.5210, 2.4410, 4.9347)
Luminance0.0244 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520D3F #0D5220
analogous
#420D52 #520D3F #520D1C
triadic
#520D3F #3F520D #0D3F52
tetradic
#520D3F #52420D #0D5220 #0D1C52
square
#520D3F #52420D #0D5220 #0D1C52
split-complementary
#520D3F #1C520D #0D5242
monochromatic
#1A0414 #1D0516 #520D3F #871568 #BC1E90

Accessibility & contrast

On white

14.11
#520D3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#520D3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #520D3F
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520D3F#FFFFFF#000000##FFFFFF
##520D3F1.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142440
Deuteranopia (green-blind)
#2A2F3D
Tritanopia (blue-blind)
#580E25
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #520d3f;
/* rgb */ color: rgb(82, 13, 63);
/* oklch */ color: oklch(30.5% 0.114 341.8);
Tailwind
colors: {
  custom: {
    50: '#865574',
    500: '#520d3f',
    950: '#000000',
  },
}
SCSS
$custom: #520d3f;
$custom-light: #865574;
$custom-dark: #000000;
JSON
{
  "hex": "#520d3f",
  "rgb": {
    "r": 82,
    "g": 13,
    "b": 63
  },
  "hsl": {
    "h": 316.522,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.30526,
    "c": 0.11424,
    "h": 341.8
  },
  "luminance": 0.02441
}

Semantic roles & 50–950 ramp

primary
#520D3F
secondary
#2E8D48
accent
#EF6B38
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #520D3F

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

Preview Lab → · Contrast checker → · Palette generator →

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