#520E41#520E41

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

Color values

HEX#520E41
RGBrgb(82, 14, 65)
HSLhsl(315, 71%, 19%)
HSVhsv(315, 83%, 32%)
CMYKcmyk(0%, 82.9%, 20.7%, 67.8%)
CIE-LABlab(17.87, 36.09, -14.34)
CIE-LCHlch(17.87, 38.83, 338.33°)
OKLaboklab(30.72% 0.1078 -0.0387)
OKLCHoklch(30.72% 0.115 340.2)
XYZxyz(4.5910, 2.4900, 5.2388)
Luminance0.0249 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520E41 #0E521F
analogous
#410E52 #520E41 #520E1F
triadic
#520E41 #41520E #0E4152
tetradic
#520E41 #52410E #0E521F #0E1F52
square
#520E41 #52410E #0E521F #0E1F52
split-complementary
#520E41 #1F520E #0E5241
monochromatic
#1A0415 #1E0518 #520E41 #86176A #BB2094

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##520E41#FFFFFF#000000##FFFFFF
##520E411.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)
#132542
Deuteranopia (green-blind)
#2A303F
Tritanopia (blue-blind)
#571026
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #520e41;
/* rgb */ color: rgb(82, 14, 65);
/* oklch */ color: oklch(30.7% 0.115 340.2);
Tailwind
colors: {
  custom: {
    50: '#855575',
    500: '#520e41',
    950: '#000000',
  },
}
SCSS
$custom: #520e41;
$custom-light: #855575;
$custom-dark: #000000;
JSON
{
  "hex": "#520e41",
  "rgb": {
    "r": 82,
    "g": 14,
    "b": 65
  },
  "hsl": {
    "h": 315,
    "s": 70.833,
    "l": 18.824
  },
  "oklch": {
    "l": 0.30722,
    "c": 0.11454,
    "h": 340.2
  },
  "luminance": 0.0249
}

Semantic roles & 50–950 ramp

primary
#520E41
secondary
#2F8C47
accent
#EE673A
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #520E41

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

Preview Lab → · Contrast checker → · Palette generator →

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