#520D37#520D37

#520D37 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.1% C 0.109 H 348.5°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#520D37
RGBrgb(82, 13, 55)
HSLhsl(323, 73%, 19%)
HSVhsv(323, 84%, 32%)
CMYKcmyk(0%, 84.1%, 32.9%, 67.8%)
CIE-LABlab(17.26, 34.97, -8.25)
CIE-LCHlch(17.26, 35.93, 346.73°)
OKLaboklab(30.12% 0.1068 -0.0217)
OKLCHoklch(30.12% 0.109 348.5)
XYZxyz(4.3134, 2.3580, 3.8417)
Luminance0.0236 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520D37 #0D5228
analogous
#4A0D52 #520D37 #520D14
triadic
#520D37 #37520D #0D3752
tetradic
#520D37 #524A0D #0D5228 #0D1452
square
#520D37 #524A0D #0D5228 #0D1452
split-complementary
#520D37 #14520D #0D524A
monochromatic
#1A0412 #1D0514 #520D37 #87155A #BC1E7E

Accessibility & contrast

On white

14.27
#520D37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #520D37
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520D37#FFFFFF#000000##FFFFFF
##520D371.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182338
Deuteranopia (green-blind)
#2D2F35
Tritanopia (blue-blind)
#590920
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #520d37;
/* rgb */ color: rgb(82, 13, 55);
/* oklch */ color: oklch(30.1% 0.109 348.5);
Tailwind
colors: {
  custom: {
    50: '#86546d',
    500: '#520d37',
    950: '#000000',
  },
}
SCSS
$custom: #520d37;
$custom-light: #86546d;
$custom-dark: #000000;
JSON
{
  "hex": "#520d37",
  "rgb": {
    "r": 82,
    "g": 13,
    "b": 55
  },
  "hsl": {
    "h": 323.478,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.3012,
    "c": 0.10895,
    "h": 348.5
  },
  "luminance": 0.02358
}

Semantic roles & 50–950 ramp

primary
#520D37
secondary
#2E8D53
accent
#EF8038
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0307
muted
#7D787A

Preview Lab

Preview with #520D37

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

Preview Lab → · Contrast checker → · Palette generator →

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