#520D2F#520D2F

#520D2F is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.8% C 0.105 H 355.8°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#520D2F
RGBrgb(82, 13, 47)
HSLhsl(330, 73%, 19%)
HSVhsv(330, 84%, 32%)
CMYKcmyk(0%, 84.1%, 42.7%, 67.8%)
CIE-LABlab(16.93, 33.95, -3.04)
CIE-LCHlch(16.93, 34.08, 354.88°)
OKLaboklab(29.77% 0.1043 -0.0076)
OKLCHoklch(29.77% 0.105 355.8)
XYZxyz(4.1370, 2.2874, 2.9124)
Luminance0.0229 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520D2F #0D5230
analogous
#520D51 #520D2F #520D0D
triadic
#520D2F #2F520D #0D2F52
tetradic
#520D2F #51520D #0D5230 #0D0D52
square
#520D2F #51520D #0D5230 #0D0D52
split-complementary
#520D2F #0D520D #0D5152
monochromatic
#1A040F #1D0511 #520D2F #87154D #BC1E6C

Accessibility & contrast

On white

14.41
#520D2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#520D2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #520D2F
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520D2F#FFFFFF#000000##FFFFFF
##520D2F1.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2230
Deuteranopia (green-blind)
#2F2E2D
Tritanopia (blue-blind)
#59041C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #520d2f;
/* rgb */ color: rgb(82, 13, 47);
/* oklch */ color: oklch(29.8% 0.105 355.8);
Tailwind
colors: {
  custom: {
    50: '#865467',
    500: '#520d2f',
    950: '#000000',
  },
}
SCSS
$custom: #520d2f;
$custom-light: #865467;
$custom-dark: #000000;
JSON
{
  "hex": "#520d2f",
  "rgb": {
    "r": 82,
    "g": 13,
    "b": 47
  },
  "hsl": {
    "h": 330.435,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.29766,
    "c": 0.10461,
    "h": 355.8
  },
  "luminance": 0.02287
}

Semantic roles & 50–950 ramp

primary
#520D2F
secondary
#2E8D5E
accent
#EF9538
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0306
muted
#7D787A

Preview Lab

Preview with #520D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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