#520F34#520F34

#520F34 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.2% C 0.105 H 351.6°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#520F34
RGBrgb(82, 15, 52)
HSLhsl(327, 69%, 19%)
HSVhsv(327, 82%, 32%)
CMYKcmyk(0%, 81.7%, 36.6%, 67.8%)
CIE-LABlab(17.39, 33.85, -5.93)
CIE-LCHlch(17.39, 34.37, 350.06°)
OKLaboklab(30.17% 0.1037 -0.0153)
OKLCHoklch(30.17% 0.105 351.6)
XYZxyz(4.2706, 2.3839, 3.4834)
Luminance0.0238 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520F34 #0F522D
analogous
#4F0F52 #520F34 #520F13
triadic
#520F34 #34520F #0F3452
tetradic
#520F34 #524F0F #0F522D #0F1352
square
#520F34 #524F0F #0F522D #0F1352
split-complementary
#520F34 #13520F #0F524F
monochromatic
#1A0510 #1E0613 #520F34 #861855 #B92276

Accessibility & contrast

On white

14.22
#520F34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #520F34
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520F34#FFFFFF#000000##FFFFFF
##520F341.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2335
Deuteranopia (green-blind)
#2E2F32
Tritanopia (blue-blind)
#590A20
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #520f34;
/* rgb */ color: rgb(82, 15, 52);
/* oklch */ color: oklch(30.2% 0.105 351.6);
Tailwind
colors: {
  custom: {
    50: '#86556b',
    500: '#520f34',
    950: '#000000',
  },
}
SCSS
$custom: #520f34;
$custom-light: #86556b;
$custom-dark: #000000;
JSON
{
  "hex": "#520f34",
  "rgb": {
    "r": 82,
    "g": 15,
    "b": 52
  },
  "hsl": {
    "h": 326.866,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30166,
    "c": 0.10481,
    "h": 351.6
  },
  "luminance": 0.02383
}

Semantic roles & 50–950 ramp

primary
#520F34
secondary
#318C5A
accent
#EC8B3C
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0306
muted
#7D787A

Preview Lab

Preview with #520F34

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

Preview Lab → · Contrast checker → · Palette generator →

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