#520D3A#520D3A

#520D3A is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.3% C 0.111 H 345.9°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#520D3A
RGBrgb(82, 13, 58)
HSLhsl(321, 73%, 19%)
HSVhsv(321, 84%, 32%)
CMYKcmyk(0%, 84.1%, 29.3%, 67.8%)
CIE-LABlab(17.40, 35.38, -10.16)
CIE-LCHlch(17.40, 36.81, 343.99°)
OKLaboklab(30.27% 0.1075 -0.0269)
OKLCHoklch(30.27% 0.111 345.9)
XYZxyz(4.3875, 2.3877, 4.2320)
Luminance0.0239 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520D3A #0D5225
analogous
#470D52 #520D3A #520D17
triadic
#520D3A #3A520D #0D3A52
tetradic
#520D3A #52470D #0D5225 #0D1752
square
#520D3A #52470D #0D5225 #0D1752
split-complementary
#520D3A #17520D #0D5247
monochromatic
#1A0413 #1D0515 #520D3A #87155F #BC1E85

Accessibility & contrast

On white

14.21
#520D3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #520D3A
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520D3A#FFFFFF#000000##FFFFFF
##520D3A1.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17233B
Deuteranopia (green-blind)
#2C2F38
Tritanopia (blue-blind)
#580B22
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #520d3a;
/* rgb */ color: rgb(82, 13, 58);
/* oklch */ color: oklch(30.3% 0.111 345.9);
Tailwind
colors: {
  custom: {
    50: '#865470',
    500: '#520d3a',
    950: '#000000',
  },
}
SCSS
$custom: #520d3a;
$custom-light: #865470;
$custom-dark: #000000;
JSON
{
  "hex": "#520d3a",
  "rgb": {
    "r": 82,
    "g": 13,
    "b": 58
  },
  "hsl": {
    "h": 320.87,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.30267,
    "c": 0.11084,
    "h": 345.9
  },
  "luminance": 0.02387
}

Semantic roles & 50–950 ramp

primary
#520D3A
secondary
#2E8D4F
accent
#EF7838
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #520D3A

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

Preview Lab → · Contrast checker → · Palette generator →

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