#520F37#520F37

#520F37 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.3% C 0.107 H 348.8°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#520F37
RGBrgb(82, 15, 55)
HSLhsl(324, 69%, 19%)
HSVhsv(324, 82%, 32%)
CMYKcmyk(0%, 81.7%, 32.9%, 67.8%)
CIE-LABlab(17.51, 34.26, -7.86)
CIE-LCHlch(17.51, 35.15, 347.07°)
OKLaboklab(30.3% 0.1045 -0.0206)
OKLCHoklch(30.3% 0.107 348.8)
XYZxyz(4.3403, 2.4118, 3.8506)
Luminance0.0241 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520F37 #0F522A
analogous
#4C0F52 #520F37 #520F16
triadic
#520F37 #37520F #0F3752
tetradic
#520F37 #524C0F #0F522A #0F1652
square
#520F37 #524C0F #0F522A #0F1652
split-complementary
#520F37 #16520F #0F524C
monochromatic
#1A0511 #1E0614 #520F37 #86185A #B9227C

Accessibility & contrast

On white

14.17
#520F37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#520F37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #520F37
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520F37#FFFFFF#000000##FFFFFF
##520F371.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2338
Deuteranopia (green-blind)
#2D2F35
Tritanopia (blue-blind)
#590B21
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #520f37;
/* rgb */ color: rgb(82, 15, 55);
/* oklch */ color: oklch(30.3% 0.107 348.8);
Tailwind
colors: {
  custom: {
    50: '#86556d',
    500: '#520f37',
    950: '#000000',
  },
}
SCSS
$custom: #520f37;
$custom-light: #86556d;
$custom-dark: #000000;
JSON
{
  "hex": "#520f37",
  "rgb": {
    "r": 82,
    "g": 15,
    "b": 55
  },
  "hsl": {
    "h": 324.179,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30303,
    "c": 0.10656,
    "h": 348.8
  },
  "luminance": 0.02411
}

Semantic roles & 50–950 ramp

primary
#520F37
secondary
#318C56
accent
#EC833C
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #520F37

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

Preview Lab → · Contrast checker → · Palette generator →

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