#520D41#520D41

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

Color values

HEX#520D41
RGBrgb(82, 13, 65)
HSLhsl(315, 73%, 19%)
HSVhsv(315, 84%, 32%)
CMYKcmyk(0%, 84.1%, 20.7%, 67.8%)
CIE-LABlab(17.75, 36.43, -14.53)
CIE-LCHlch(17.75, 39.22, 338.26°)
OKLaboklab(30.64% 0.1088 -0.0392)
OKLCHoklch(30.64% 0.116 340.2)
XYZxyz(4.5779, 2.4638, 5.2345)
Luminance0.0246 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520D41 #0D521E
analogous
#400D52 #520D41 #520D1E
triadic
#520D41 #41520D #0D4152
tetradic
#520D41 #52400D #0D521E #0D1E52
square
#520D41 #52400D #0D521E #0D1E52
split-complementary
#520D41 #1E520D #0D5240
monochromatic
#1A0415 #1D0517 #520D41 #87156B #BC1E95

Accessibility & contrast

On white

14.07
#520D41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#520D41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #520D41
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520D41#FFFFFF#000000##FFFFFF
##520D411.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122542
Deuteranopia (green-blind)
#292F3F
Tritanopia (blue-blind)
#570F26
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #520d41;
/* rgb */ color: rgb(82, 13, 65);
/* oklch */ color: oklch(30.6% 0.116 340.2);
Tailwind
colors: {
  custom: {
    50: '#865575',
    500: '#520d41',
    950: '#000000',
  },
}
SCSS
$custom: #520d41;
$custom-light: #865575;
$custom-dark: #000000;
JSON
{
  "hex": "#520d41",
  "rgb": {
    "r": 82,
    "g": 13,
    "b": 65
  },
  "hsl": {
    "h": 314.783,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.30635,
    "c": 0.11569,
    "h": 340.2
  },
  "luminance": 0.02463
}

Semantic roles & 50–950 ramp

primary
#520D41
secondary
#2E8D45
accent
#EF6638
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #520D41

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

Preview Lab → · Contrast checker → · Palette generator →

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