#521547#521547

#521547 is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.8% C 0.110 H 335.9°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#521547
RGBrgb(82, 21, 71)
HSLhsl(311, 59%, 20%)
HSVhsv(311, 74%, 32%)
CMYKcmyk(0%, 74.4%, 13.4%, 67.8%)
CIE-LABlab(19.16, 34.34, -16.48)
CIE-LCHlch(19.16, 38.09, 334.36°)
OKLaboklab(31.76% 0.1005 -0.0449)
OKLCHoklch(31.76% 0.11 335.9)
XYZxyz(4.8852, 2.7855, 6.2404)
Luminance0.0278 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521547 #155220
analogous
#3F1552 #521547 #521528
triadic
#521547 #475215 #154752
tetradic
#521547 #523F15 #155220 #152852
square
#521547 #523F15 #155220 #152852
split-complementary
#521547 #285215 #15523F
monochromatic
#180615 #21091D #521547 #832171 #B32E9B

Accessibility & contrast

On white

13.49
#521547 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#521547 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521547
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521547#FFFFFF#000000##FFFFFF
##5215471.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162948
Deuteranopia (green-blind)
#2A3245
Tritanopia (blue-blind)
#56192C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #521547;
/* rgb */ color: rgb(82, 21, 71);
/* oklch */ color: oklch(31.8% 0.110 335.9);
Tailwind
colors: {
  custom: {
    50: '#85587a',
    500: '#521547',
    950: '#000000',
  },
}
SCSS
$custom: #521547;
$custom-light: #85587a;
$custom-dark: #000000;
JSON
{
  "hex": "#521547",
  "rgb": {
    "r": 82,
    "g": 21,
    "b": 71
  },
  "hsl": {
    "h": 310.82,
    "s": 59.223,
    "l": 20.196
  },
  "oklch": {
    "l": 0.3176,
    "c": 0.11002,
    "h": 335.9
  },
  "luminance": 0.02785
}

Semantic roles & 50–950 ramp

primary
#521547
secondary
#398A48
accent
#E26245
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #521547

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

Preview Lab → · Contrast checker → · Palette generator →

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