#520D3E#520D3E

#520D3E is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.5% C 0.114 H 342.6°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#520D3E
RGBrgb(82, 13, 62)
HSLhsl(317, 73%, 19%)
HSVhsv(317, 84%, 32%)
CMYKcmyk(0%, 84.1%, 24.4%, 67.8%)
CIE-LABlab(17.60, 35.97, -12.67)
CIE-LCHlch(17.60, 38.13, 340.60°)
OKLaboklab(30.47% 0.1083 -0.034)
OKLCHoklch(30.47% 0.114 342.6)
XYZxyz(4.4933, 2.4300, 4.7889)
Luminance0.0243 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520D3E #0D5221
analogous
#430D52 #520D3E #520D1B
triadic
#520D3E #3E520D #0D3E52
tetradic
#520D3E #52430D #0D5221 #0D1B52
square
#520D3E #52430D #0D5221 #0D1B52
split-complementary
#520D3E #1B520D #0D5243
monochromatic
#1A0414 #1D0516 #520D3E #871566 #BC1E8E

Accessibility & contrast

On white

14.13
#520D3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#520D3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #520D3E
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520D3E#FFFFFF#000000##FFFFFF
##520D3E1.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14243F
Deuteranopia (green-blind)
#2A2F3C
Tritanopia (blue-blind)
#580E24
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #520d3e;
/* rgb */ color: rgb(82, 13, 62);
/* oklch */ color: oklch(30.5% 0.114 342.6);
Tailwind
colors: {
  custom: {
    50: '#865573',
    500: '#520d3e',
    950: '#000000',
  },
}
SCSS
$custom: #520d3e;
$custom-light: #865573;
$custom-dark: #000000;
JSON
{
  "hex": "#520d3e",
  "rgb": {
    "r": 82,
    "g": 13,
    "b": 62
  },
  "hsl": {
    "h": 317.391,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.30473,
    "c": 0.11354,
    "h": 342.6
  },
  "luminance": 0.02429
}

Semantic roles & 50–950 ramp

primary
#520D3E
secondary
#2E8D49
accent
#EF6D38
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #520D3E

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

Preview Lab → · Contrast checker → · Palette generator →

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