#520D39#520D39

#520D39 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.2% C 0.110 H 346.8°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#520D39
RGBrgb(82, 13, 57)
HSLhsl(322, 73%, 19%)
HSVhsv(322, 84%, 32%)
CMYKcmyk(0%, 84.1%, 30.5%, 67.8%)
CIE-LABlab(17.36, 35.24, -9.52)
CIE-LCHlch(17.36, 36.51, 344.88°)
OKLaboklab(30.22% 0.1073 -0.0252)
OKLCHoklch(30.22% 0.11 346.8)
XYZxyz(4.3623, 2.3776, 4.0993)
Luminance0.0238 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520D39 #0D5226
analogous
#480D52 #520D39 #520D16
triadic
#520D39 #39520D #0D3952
tetradic
#520D39 #52480D #0D5226 #0D1652
square
#520D39 #52480D #0D5226 #0D1652
split-complementary
#520D39 #16520D #0D5248
monochromatic
#1A0412 #1D0514 #520D39 #87155E #BC1E82

Accessibility & contrast

On white

14.23
#520D39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#520D39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #520D39
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520D39#FFFFFF#000000##FFFFFF
##520D391.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17233A
Deuteranopia (green-blind)
#2C2F37
Tritanopia (blue-blind)
#580A22
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #520d39;
/* rgb */ color: rgb(82, 13, 57);
/* oklch */ color: oklch(30.2% 0.110 346.8);
Tailwind
colors: {
  custom: {
    50: '#86546f',
    500: '#520d39',
    950: '#000000',
  },
}
SCSS
$custom: #520d39;
$custom-light: #86546f;
$custom-dark: #000000;
JSON
{
  "hex": "#520d39",
  "rgb": {
    "r": 82,
    "g": 13,
    "b": 57
  },
  "hsl": {
    "h": 321.739,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.30217,
    "c": 0.1102,
    "h": 346.8
  },
  "luminance": 0.02377
}

Semantic roles & 50–950 ramp

primary
#520D39
secondary
#2E8D50
accent
#EF7B38
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #520D39

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

Preview Lab → · Contrast checker → · Palette generator →

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