#520D3C#520D3C

#520D3C is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.4% C 0.112 H 344.2°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#520D3C
RGBrgb(82, 13, 60)
HSLhsl(319, 73%, 19%)
HSVhsv(319, 84%, 32%)
CMYKcmyk(0%, 84.1%, 26.8%, 67.8%)
CIE-LABlab(17.50, 35.67, -11.42)
CIE-LCHlch(17.50, 37.46, 342.25°)
OKLaboklab(30.37% 0.108 -0.0305)
OKLCHoklch(30.37% 0.112 344.2)
XYZxyz(4.4394, 2.4084, 4.5052)
Luminance0.0241 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520D3C #0D5223
analogous
#450D52 #520D3C #520D19
triadic
#520D3C #3C520D #0D3C52
tetradic
#520D3C #52450D #0D5223 #0D1952
square
#520D3C #52450D #0D5223 #0D1952
split-complementary
#520D3C #19520D #0D5245
monochromatic
#1A0413 #1D0515 #520D3C #871563 #BC1E89

Accessibility & contrast

On white

14.17
#520D3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #520D3C
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520D3C#FFFFFF#000000##FFFFFF
##520D3C1.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16243D
Deuteranopia (green-blind)
#2B2F3A
Tritanopia (blue-blind)
#580C23
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #520d3c;
/* rgb */ color: rgb(82, 13, 60);
/* oklch */ color: oklch(30.4% 0.112 344.2);
Tailwind
colors: {
  custom: {
    50: '#865471',
    500: '#520d3c',
    950: '#000000',
  },
}
SCSS
$custom: #520d3c;
$custom-light: #865471;
$custom-dark: #000000;
JSON
{
  "hex": "#520d3c",
  "rgb": {
    "r": 82,
    "g": 13,
    "b": 60
  },
  "hsl": {
    "h": 319.13,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.30368,
    "c": 0.11217,
    "h": 344.2
  },
  "luminance": 0.02408
}

Semantic roles & 50–950 ramp

primary
#520D3C
secondary
#2E8D4C
accent
#EF7338
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #520D3C

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

Preview Lab → · Contrast checker → · Palette generator →

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