#521747#521747

#521747 is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.0% C 0.107 H 336.0°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#521747
RGBrgb(82, 23, 71)
HSLhsl(311, 56%, 21%)
HSVhsv(311, 72%, 32%)
CMYKcmyk(0%, 72%, 13.4%, 67.8%)
CIE-LABlab(19.48, 33.44, -15.99)
CIE-LCHlch(19.48, 37.07, 334.45°)
OKLaboklab(31.99% 0.0978 -0.0435)
OKLCHoklch(31.99% 0.107 336)
XYZxyz(4.9235, 2.8620, 6.2531)
Luminance0.0286 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521747 #175222
analogous
#3F1752 #521747 #52172A
triadic
#521747 #475217 #174752
tetradic
#521747 #523F17 #175222 #172A52
square
#521747 #523F17 #175222 #172A52
split-complementary
#521747 #2A5217 #17523F
monochromatic
#180715 #220A1E #521747 #822470 #B2329A

Accessibility & contrast

On white

13.36
#521747 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#521747 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521747
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521747#FFFFFF#000000##FFFFFF
##5217471.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182948
Deuteranopia (green-blind)
#2B3246
Tritanopia (blue-blind)
#561B2C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #521747;
/* rgb */ color: rgb(82, 23, 71);
/* oklch */ color: oklch(32.0% 0.107 336.0);
Tailwind
colors: {
  custom: {
    50: '#85597a',
    500: '#521747',
    950: '#000000',
  },
}
SCSS
$custom: #521747;
$custom-light: #85597a;
$custom-dark: #000000;
JSON
{
  "hex": "#521747",
  "rgb": {
    "r": 82,
    "g": 23,
    "b": 71
  },
  "hsl": {
    "h": 311.186,
    "s": 56.19,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31992,
    "c": 0.10704,
    "h": 336
  },
  "luminance": 0.02862
}

Semantic roles & 50–950 ramp

primary
#521747
secondary
#3C894A
accent
#DF6548
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #521747

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

Preview Lab → · Contrast checker → · Palette generator →

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