#520D44#520D44

#520D44 is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.8% C 0.118 H 337.9°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#520D44
RGBrgb(82, 13, 68)
HSLhsl(312, 73%, 19%)
HSVhsv(312, 84%, 32%)
CMYKcmyk(0%, 84.1%, 17.1%, 67.8%)
CIE-LABlab(17.92, 36.90, -16.36)
CIE-LCHlch(17.92, 40.37, 336.09°)
OKLaboklab(30.81% 0.1092 -0.0445)
OKLCHoklch(30.81% 0.118 337.9)
XYZxyz(4.6671, 2.4995, 5.7044)
Luminance0.0250 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520D44 #0D521B
analogous
#3D0D52 #520D44 #520D21
triadic
#520D44 #44520D #0D4452
tetradic
#520D44 #523D0D #0D521B #0D2152
square
#520D44 #523D0D #0D521B #0D2152
split-complementary
#520D44 #21520D #0D523D
monochromatic
#1A0416 #1D0518 #520D44 #871570 #BC1E9C

Accessibility & contrast

On white

14.00
#520D44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#520D44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #520D44
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520D44#FFFFFF#000000##FFFFFF
##520D441.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102545
Deuteranopia (green-blind)
#283042
Tritanopia (blue-blind)
#571127
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #520d44;
/* rgb */ color: rgb(82, 13, 68);
/* oklch */ color: oklch(30.8% 0.118 337.9);
Tailwind
colors: {
  custom: {
    50: '#855578',
    500: '#520d44',
    950: '#000000',
  },
}
SCSS
$custom: #520d44;
$custom-light: #855578;
$custom-dark: #000000;
JSON
{
  "hex": "#520d44",
  "rgb": {
    "r": 82,
    "g": 13,
    "b": 68
  },
  "hsl": {
    "h": 312.174,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.30805,
    "c": 0.11793,
    "h": 337.9
  },
  "luminance": 0.02499
}

Semantic roles & 50–950 ramp

primary
#520D44
secondary
#2E8D41
accent
#EF5E38
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #520D44

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

Preview Lab → · Contrast checker → · Palette generator →

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