#520D43#520D43

#520D43 is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.7% C 0.117 H 338.6°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#520D43
RGBrgb(82, 13, 67)
HSLhsl(313, 73%, 19%)
HSVhsv(313, 84%, 32%)
CMYKcmyk(0%, 84.1%, 18.3%, 67.8%)
CIE-LABlab(17.86, 36.74, -15.75)
CIE-LCHlch(17.86, 39.98, 336.80°)
OKLaboklab(30.75% 0.1091 -0.0427)
OKLCHoklch(30.75% 0.117 338.6)
XYZxyz(4.6368, 2.4874, 5.5450)
Luminance0.0249 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520D43 #0D521C
analogous
#3E0D52 #520D43 #520D20
triadic
#520D43 #43520D #0D4352
tetradic
#520D43 #523E0D #0D521C #0D2052
square
#520D43 #523E0D #0D521C #0D2052
split-complementary
#520D43 #20520D #0D523E
monochromatic
#1A0416 #1D0518 #520D43 #87156E #BC1E99

Accessibility & contrast

On white

14.02
#520D43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #520D43
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520D43#FFFFFF#000000##FFFFFF
##520D431.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #520d43;
/* rgb */ color: rgb(82, 13, 67);
/* oklch */ color: oklch(30.7% 0.117 338.6);
Tailwind
colors: {
  custom: {
    50: '#865577',
    500: '#520d43',
    950: '#000000',
  },
}
SCSS
$custom: #520d43;
$custom-light: #865577;
$custom-dark: #000000;
JSON
{
  "hex": "#520d43",
  "rgb": {
    "r": 82,
    "g": 13,
    "b": 67
  },
  "hsl": {
    "h": 313.043,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.30748,
    "c": 0.11718,
    "h": 338.6
  },
  "luminance": 0.02487
}

Semantic roles & 50–950 ramp

primary
#520D43
secondary
#2E8D43
accent
#EF6038
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #520D43

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

Preview Lab → · Contrast checker → · Palette generator →

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