#520E43#520E43

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

Color values

HEX#520E43
RGBrgb(82, 14, 67)
HSLhsl(313, 71%, 19%)
HSVhsv(313, 83%, 32%)
CMYKcmyk(0%, 82.9%, 18.3%, 67.8%)
CIE-LABlab(17.98, 36.40, -15.57)
CIE-LCHlch(17.98, 39.59, 336.85°)
OKLaboklab(30.83% 0.1081 -0.0422)
OKLCHoklch(30.83% 0.116 338.7)
XYZxyz(4.6499, 2.5136, 5.5494)
Luminance0.0251 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520E43 #0E521D
analogous
#3F0E52 #520E43 #520E21
triadic
#520E43 #43520E #0E4352
tetradic
#520E43 #523F0E #0E521D #0E2152
square
#520E43 #523F0E #0E521D #0E2152
split-complementary
#520E43 #21520E #0E523F
monochromatic
#1A0415 #1E0518 #520E43 #86176E #BB2098

Accessibility & contrast

On white

13.98
#520E43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #520E43
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520E43#FFFFFF#000000##FFFFFF
##520E431.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #520e43;
/* rgb */ color: rgb(82, 14, 67);
/* oklch */ color: oklch(30.8% 0.116 338.7);
Tailwind
colors: {
  custom: {
    50: '#855577',
    500: '#520e43',
    950: '#000000',
  },
}
SCSS
$custom: #520e43;
$custom-light: #855577;
$custom-dark: #000000;
JSON
{
  "hex": "#520e43",
  "rgb": {
    "r": 82,
    "g": 14,
    "b": 67
  },
  "hsl": {
    "h": 313.235,
    "s": 70.833,
    "l": 18.824
  },
  "oklch": {
    "l": 0.30833,
    "c": 0.11604,
    "h": 338.7
  },
  "luminance": 0.02513
}

Semantic roles & 50–950 ramp

primary
#520E43
secondary
#2F8C44
accent
#EE623A
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #520E43

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

Preview Lab → · Contrast checker → · Palette generator →

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