#520F35#520F35

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

Color values

HEX#520F35
RGBrgb(82, 15, 53)
HSLhsl(326, 69%, 19%)
HSVhsv(326, 82%, 32%)
CMYKcmyk(0%, 81.7%, 35.4%, 67.8%)
CIE-LABlab(17.43, 33.98, -6.58)
CIE-LCHlch(17.43, 34.61, 349.05°)
OKLaboklab(30.21% 0.104 -0.0171)
OKLCHoklch(30.21% 0.105 350.7)
XYZxyz(4.2933, 2.3930, 3.6033)
Luminance0.0239 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520F35 #0F522C
analogous
#4E0F52 #520F35 #520F14
triadic
#520F35 #35520F #0F3552
tetradic
#520F35 #524E0F #0F522C #0F1452
square
#520F35 #524E0F #0F522C #0F1452
split-complementary
#520F35 #14520F #0F524E
monochromatic
#1A0511 #1E0614 #520F35 #861856 #B92278

Accessibility & contrast

On white

14.20
#520F35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #520F35
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520F35#FFFFFF#000000##FFFFFF
##520F351.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #520f35;
/* rgb */ color: rgb(82, 15, 53);
/* oklch */ color: oklch(30.2% 0.105 350.7);
Tailwind
colors: {
  custom: {
    50: '#86556c',
    500: '#520f35',
    950: '#000000',
  },
}
SCSS
$custom: #520f35;
$custom-light: #86556c;
$custom-dark: #000000;
JSON
{
  "hex": "#520f35",
  "rgb": {
    "r": 82,
    "g": 15,
    "b": 53
  },
  "hsl": {
    "h": 325.97,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30211,
    "c": 0.10538,
    "h": 350.7
  },
  "luminance": 0.02393
}

Semantic roles & 50–950 ramp

primary
#520F35
secondary
#318C58
accent
#EC883C
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0306
muted
#7D787A

Preview Lab

Preview with #520F35

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

Preview Lab → · Contrast checker → · Palette generator →

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