#520D3B#520D3B

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

Color values

HEX#520D3B
RGBrgb(82, 13, 59)
HSLhsl(320, 73%, 19%)
HSVhsv(320, 84%, 32%)
CMYKcmyk(0%, 84.1%, 28%, 67.8%)
CIE-LABlab(17.45, 35.53, -10.79)
CIE-LCHlch(17.45, 37.13, 343.11°)
OKLaboklab(30.32% 0.1077 -0.0287)
OKLCHoklch(30.32% 0.111 345.1)
XYZxyz(4.4132, 2.3979, 4.3673)
Luminance0.0240 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520D3B #0D5224
analogous
#460D52 #520D3B #520D18
triadic
#520D3B #3B520D #0D3B52
tetradic
#520D3B #52460D #0D5224 #0D1852
square
#520D3B #52460D #0D5224 #0D1852
split-complementary
#520D3B #18520D #0D5246
monochromatic
#1A0413 #1D0515 #520D3B #871561 #BC1E87

Accessibility & contrast

On white

14.19
#520D3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #520D3B
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520D3B#FFFFFF#000000##FFFFFF
##520D3B1.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16233C
Deuteranopia (green-blind)
#2B2F39
Tritanopia (blue-blind)
#580C23
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #520d3b;
/* rgb */ color: rgb(82, 13, 59);
/* oklch */ color: oklch(30.3% 0.111 345.1);
Tailwind
colors: {
  custom: {
    50: '#865471',
    500: '#520d3b',
    950: '#000000',
  },
}
SCSS
$custom: #520d3b;
$custom-light: #865471;
$custom-dark: #000000;
JSON
{
  "hex": "#520d3b",
  "rgb": {
    "r": 82,
    "g": 13,
    "b": 59
  },
  "hsl": {
    "h": 320,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.30317,
    "c": 0.11149,
    "h": 345.1
  },
  "luminance": 0.02397
}

Semantic roles & 50–950 ramp

primary
#520D3B
secondary
#2E8D4E
accent
#EF7538
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #520D3B

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

Preview Lab → · Contrast checker → · Palette generator →

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