#521748#521748

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

Color values

HEX#521748
RGBrgb(82, 23, 72)
HSLhsl(310, 56%, 21%)
HSVhsv(310, 72%, 32%)
CMYKcmyk(0%, 72%, 12.2%, 67.8%)
CIE-LABlab(19.54, 33.62, -16.59)
CIE-LCHlch(19.54, 37.49, 333.74°)
OKLaboklab(32.05% 0.098 -0.0452)
OKLCHoklch(32.05% 0.108 335.2)
XYZxyz(4.9558, 2.8749, 6.4235)
Luminance0.0288 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521748 #175221
analogous
#3E1752 #521748 #52172B
triadic
#521748 #485217 #174852
tetradic
#521748 #523E17 #175221 #172B52
square
#521748 #523E17 #175221 #172B52
split-complementary
#521748 #2B5217 #17523E
monochromatic
#180715 #220A1E #521748 #822472 #B2329C

Accessibility & contrast

On white

13.33
#521748 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#521748 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521748
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521748#FFFFFF#000000##FFFFFF
##5217481.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172A49
Deuteranopia (green-blind)
#2A3247
Tritanopia (blue-blind)
#561B2D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #521748;
/* rgb */ color: rgb(82, 23, 72);
/* oklch */ color: oklch(32.0% 0.108 335.2);
Tailwind
colors: {
  custom: {
    50: '#85597b',
    500: '#521748',
    950: '#000000',
  },
}
SCSS
$custom: #521748;
$custom-light: #85597b;
$custom-dark: #000000;
JSON
{
  "hex": "#521748",
  "rgb": {
    "r": 82,
    "g": 23,
    "b": 72
  },
  "hsl": {
    "h": 310.169,
    "s": 56.19,
    "l": 20.588
  },
  "oklch": {
    "l": 0.32048,
    "c": 0.10789,
    "h": 335.2
  },
  "luminance": 0.02875
}

Semantic roles & 50–950 ramp

primary
#521748
secondary
#3C8949
accent
#DF6248
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #521748

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

Preview Lab → · Contrast checker → · Palette generator →

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