#520F36#520F36

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

Color values

HEX#520F36
RGBrgb(82, 15, 54)
HSLhsl(325, 69%, 19%)
HSVhsv(325, 82%, 32%)
CMYKcmyk(0%, 81.7%, 34.1%, 67.8%)
CIE-LABlab(17.47, 34.12, -7.22)
CIE-LCHlch(17.47, 34.88, 348.05°)
OKLaboklab(30.26% 0.1043 -0.0189)
OKLCHoklch(30.26% 0.106 349.7)
XYZxyz(4.3166, 2.4023, 3.7257)
Luminance0.0240 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520F36 #0F522B
analogous
#4D0F52 #520F36 #520F15
triadic
#520F36 #36520F #0F3652
tetradic
#520F36 #524D0F #0F522B #0F1552
square
#520F36 #524D0F #0F522B #0F1552
split-complementary
#520F36 #15520F #0F524D
monochromatic
#1A0511 #1E0614 #520F36 #861858 #B9227A

Accessibility & contrast

On white

14.19
#520F36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #520F36
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520F36#FFFFFF#000000##FFFFFF
##520F361.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #520f36;
/* rgb */ color: rgb(82, 15, 54);
/* oklch */ color: oklch(30.3% 0.106 349.7);
Tailwind
colors: {
  custom: {
    50: '#86556d',
    500: '#520f36',
    950: '#000000',
  },
}
SCSS
$custom: #520f36;
$custom-light: #86556d;
$custom-dark: #000000;
JSON
{
  "hex": "#520f36",
  "rgb": {
    "r": 82,
    "g": 15,
    "b": 54
  },
  "hsl": {
    "h": 325.075,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30257,
    "c": 0.10596,
    "h": 349.7
  },
  "luminance": 0.02402
}

Semantic roles & 50–950 ramp

primary
#520F36
secondary
#318C57
accent
#EC853C
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #520F36

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

Preview Lab → · Contrast checker → · Palette generator →

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