#520F39#520F39

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

Color values

HEX#520F39
RGBrgb(82, 15, 57)
HSLhsl(322, 69%, 19%)
HSVhsv(322, 82%, 32%)
CMYKcmyk(0%, 81.7%, 30.5%, 67.8%)
CIE-LABlab(17.61, 34.53, -9.14)
CIE-LCHlch(17.61, 35.72, 345.18°)
OKLaboklab(30.4% 0.1051 -0.0241)
OKLCHoklch(30.4% 0.108 347.1)
XYZxyz(4.3892, 2.4314, 4.1083)
Luminance0.0243 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520F39 #0F5228
analogous
#4A0F52 #520F39 #520F18
triadic
#520F39 #39520F #0F3952
tetradic
#520F39 #524A0F #0F5228 #0F1852
square
#520F39 #524A0F #0F5228 #0F1852
split-complementary
#520F39 #18520F #0F524A
monochromatic
#1A0512 #1E0615 #520F39 #86185D #B92281

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##520F39#FFFFFF#000000##FFFFFF
##520F391.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)
#19243A
Deuteranopia (green-blind)
#2D2F37
Tritanopia (blue-blind)
#580D22
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #520f39;
/* rgb */ color: rgb(82, 15, 57);
/* oklch */ color: oklch(30.4% 0.108 347.1);
Tailwind
colors: {
  custom: {
    50: '#86556f',
    500: '#520f39',
    950: '#000000',
  },
}
SCSS
$custom: #520f39;
$custom-light: #86556f;
$custom-dark: #000000;
JSON
{
  "hex": "#520f39",
  "rgb": {
    "r": 82,
    "g": 15,
    "b": 57
  },
  "hsl": {
    "h": 322.388,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30399,
    "c": 0.10781,
    "h": 347.1
  },
  "luminance": 0.02431
}

Semantic roles & 50–950 ramp

primary
#520F39
secondary
#318C53
accent
#EC7E3C
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #520F39

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

Preview Lab → · Contrast checker → · Palette generator →

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