#521047#521047

#521047 is a dark, moderate pink. Relative luminance 0.026; OKLCH L 31.2% C 0.117 H 335.7°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#521047
RGBrgb(82, 16, 71)
HSLhsl(310, 67%, 19%)
HSVhsv(310, 80%, 32%)
CMYKcmyk(0%, 80.5%, 13.4%, 67.8%)
CIE-LABlab(18.45, 36.35, -17.60)
CIE-LCHlch(18.45, 40.38, 334.17°)
OKLaboklab(31.25% 0.1064 -0.048)
OKLCHoklch(31.25% 0.117 335.7)
XYZxyz(4.8024, 2.6198, 6.2128)
Luminance0.0262 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521047 #10521B
analogous
#3C1052 #521047 #521026
triadic
#521047 #475210 #104752
tetradic
#521047 #523C10 #10521B #102652
square
#521047 #523C10 #10521B #102652
split-complementary
#521047 #265210 #10523C
monochromatic
#1A0516 #1F061B #521047 #851A73 #B824A0

Accessibility & contrast

On white

13.78
#521047 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#521047 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521047
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521047#FFFFFF#000000##FFFFFF
##5210471.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112748
Deuteranopia (green-blind)
#283045
Tritanopia (blue-blind)
#57152A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #521047;
/* rgb */ color: rgb(82, 16, 71);
/* oklch */ color: oklch(31.2% 0.117 335.7);
Tailwind
colors: {
  custom: {
    50: '#85567a',
    500: '#521047',
    950: '#000000',
  },
}
SCSS
$custom: #521047;
$custom-light: #85567a;
$custom-dark: #000000;
JSON
{
  "hex": "#521047",
  "rgb": {
    "r": 82,
    "g": 16,
    "b": 71
  },
  "hsl": {
    "h": 310,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.31245,
    "c": 0.11675,
    "h": 335.7
  },
  "luminance": 0.02619
}

Semantic roles & 50–950 ramp

primary
#521047
secondary
#328C41
accent
#EA5A3E
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #521047

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

Preview Lab → · Contrast checker → · Palette generator →

#521047 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva