#520F41#520F41

#520F41 is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.8% C 0.113 H 340.3°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#520F41
RGBrgb(82, 15, 65)
HSLhsl(315, 69%, 19%)
HSVhsv(315, 82%, 32%)
CMYKcmyk(0%, 81.7%, 20.7%, 67.8%)
CIE-LABlab(18.00, 35.73, -14.15)
CIE-LCHlch(18.00, 38.43, 338.40°)
OKLaboklab(30.81% 0.1067 -0.0382)
OKLCHoklch(30.81% 0.113 340.3)
XYZxyz(4.6048, 2.5176, 5.2434)
Luminance0.0252 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520F41 #0F5220
analogous
#420F52 #520F41 #520F20
triadic
#520F41 #41520F #0F4152
tetradic
#520F41 #52420F #0F5220 #0F2052
square
#520F41 #52420F #0F5220 #0F2052
split-complementary
#520F41 #20520F #0F5242
monochromatic
#1A0515 #1E0618 #520F41 #86186A #B92293

Accessibility & contrast

On white

13.97
#520F41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#520F41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #520F41
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520F41#FFFFFF#000000##FFFFFF
##520F411.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142542
Deuteranopia (green-blind)
#2A303F
Tritanopia (blue-blind)
#571126
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #520f41;
/* rgb */ color: rgb(82, 15, 65);
/* oklch */ color: oklch(30.8% 0.113 340.3);
Tailwind
colors: {
  custom: {
    50: '#855575',
    500: '#520f41',
    950: '#000000',
  },
}
SCSS
$custom: #520f41;
$custom-light: #855575;
$custom-dark: #000000;
JSON
{
  "hex": "#520f41",
  "rgb": {
    "r": 82,
    "g": 15,
    "b": 65
  },
  "hsl": {
    "h": 315.224,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30812,
    "c": 0.11334,
    "h": 340.3
  },
  "luminance": 0.02517
}

Semantic roles & 50–950 ramp

primary
#520F41
secondary
#318C48
accent
#EC693C
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #520F41

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

Preview Lab → · Contrast checker → · Palette generator →

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