#520D36#520D36

#520D36 is a dark, moderate pink. Relative luminance 0.023; OKLCH L 30.1% C 0.108 H 349.4°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#520D36
RGBrgb(82, 13, 54)
HSLhsl(324, 73%, 19%)
HSVhsv(324, 84%, 32%)
CMYKcmyk(0%, 84.1%, 34.1%, 67.8%)
CIE-LABlab(17.22, 34.83, -7.60)
CIE-LCHlch(17.22, 35.65, 347.69°)
OKLaboklab(30.07% 0.1065 -0.0199)
OKLCHoklch(30.07% 0.108 349.4)
XYZxyz(4.2897, 2.3485, 3.7167)
Luminance0.0235 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520D36 #0D5229
analogous
#4B0D52 #520D36 #520D13
triadic
#520D36 #36520D #0D3652
tetradic
#520D36 #524B0D #0D5229 #0D1352
square
#520D36 #524B0D #0D5229 #0D1352
split-complementary
#520D36 #13520D #0D524B
monochromatic
#1A0411 #1D0513 #520D36 #871559 #BC1E7C

Accessibility & contrast

On white

14.29
#520D36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#520D36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #520D36
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520D36#FFFFFF#000000##FFFFFF
##520D361.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192337
Deuteranopia (green-blind)
#2D2F34
Tritanopia (blue-blind)
#590820
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #520d36;
/* rgb */ color: rgb(82, 13, 54);
/* oklch */ color: oklch(30.1% 0.108 349.4);
Tailwind
colors: {
  custom: {
    50: '#86546d',
    500: '#520d36',
    950: '#000000',
  },
}
SCSS
$custom: #520d36;
$custom-light: #86546d;
$custom-dark: #000000;
JSON
{
  "hex": "#520d36",
  "rgb": {
    "r": 82,
    "g": 13,
    "b": 54
  },
  "hsl": {
    "h": 324.348,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.30073,
    "c": 0.10835,
    "h": 349.4
  },
  "luminance": 0.02348
}

Semantic roles & 50–950 ramp

primary
#520D36
secondary
#2E8D54
accent
#EF8338
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0307
muted
#7D787A

Preview Lab

Preview with #520D36

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

Preview Lab → · Contrast checker → · Palette generator →

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