#520E46#520E46

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

Color values

HEX#520E46
RGBrgb(82, 14, 70)
HSLhsl(311, 71%, 19%)
HSVhsv(311, 83%, 32%)
CMYKcmyk(0%, 82.9%, 14.6%, 67.8%)
CIE-LABlab(18.15, 36.89, -17.39)
CIE-LCHlch(18.15, 40.78, 334.77°)
OKLaboklab(31.01% 0.1084 -0.0474)
OKLCHoklch(31.01% 0.118 336.4)
XYZxyz(4.7423, 2.5506, 6.0357)
Luminance0.0255 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520E46 #0E521A
analogous
#3C0E52 #520E46 #520E24
triadic
#520E46 #46520E #0E4652
tetradic
#520E46 #523C0E #0E521A #0E2452
square
#520E46 #523C0E #0E521A #0E2452
split-complementary
#520E46 #24520E #0E523C
monochromatic
#1A0416 #1E0519 #520E46 #861773 #BB209F

Accessibility & contrast

On white

13.91
#520E46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#520E46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #520E46
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520E46#FFFFFF#000000##FFFFFF
##520E461.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2647
Deuteranopia (green-blind)
#283044
Tritanopia (blue-blind)
#571329
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #520e46;
/* rgb */ color: rgb(82, 14, 70);
/* oklch */ color: oklch(31.0% 0.118 336.4);
Tailwind
colors: {
  custom: {
    50: '#855579',
    500: '#520e46',
    950: '#000000',
  },
}
SCSS
$custom: #520e46;
$custom-light: #855579;
$custom-dark: #000000;
JSON
{
  "hex": "#520e46",
  "rgb": {
    "r": 82,
    "g": 14,
    "b": 70
  },
  "hsl": {
    "h": 310.588,
    "s": 70.833,
    "l": 18.824
  },
  "oklch": {
    "l": 0.31006,
    "c": 0.11835,
    "h": 336.4
  },
  "luminance": 0.0255
}

Semantic roles & 50–950 ramp

primary
#520E46
secondary
#2F8C40
accent
#EE5A3A
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #520E46

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

Preview Lab → · Contrast checker → · Palette generator →

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