#521648#521648

#521648 is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.9% C 0.109 H 335.2°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#521648
RGBrgb(82, 22, 72)
HSLhsl(310, 58%, 20%)
HSVhsv(310, 73%, 32%)
CMYKcmyk(0%, 73.2%, 12.2%, 67.8%)
CIE-LABlab(19.37, 34.07, -16.84)
CIE-LCHlch(19.37, 38.01, 333.70°)
OKLaboklab(31.93% 0.0993 -0.0459)
OKLCHoklch(31.93% 0.109 335.2)
XYZxyz(4.9363, 2.8360, 6.4170)
Luminance0.0284 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521648 #165220
analogous
#3E1652 #521648 #52162A
triadic
#521648 #485216 #164852
tetradic
#521648 #523E16 #165220 #162A52
square
#521648 #523E16 #165220 #162A52
split-complementary
#521648 #2A5216 #16523E
monochromatic
#180615 #22091E #521648 #822372 #B3309D

Accessibility & contrast

On white

13.40
#521648 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #521648
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521648#FFFFFF#000000##FFFFFF
##5216481.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162949
Deuteranopia (green-blind)
#2A3247
Tritanopia (blue-blind)
#561A2C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #521648;
/* rgb */ color: rgb(82, 22, 72);
/* oklch */ color: oklch(31.9% 0.109 335.2);
Tailwind
colors: {
  custom: {
    50: '#85597b',
    500: '#521648',
    950: '#000000',
  },
}
SCSS
$custom: #521648;
$custom-light: #85597b;
$custom-dark: #000000;
JSON
{
  "hex": "#521648",
  "rgb": {
    "r": 82,
    "g": 22,
    "b": 72
  },
  "hsl": {
    "h": 310,
    "s": 57.692,
    "l": 20.392
  },
  "oklch": {
    "l": 0.31931,
    "c": 0.10939,
    "h": 335.2
  },
  "luminance": 0.02836
}

Semantic roles & 50–950 ramp

primary
#521648
secondary
#3A8948
accent
#E16147
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #521648

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

Preview Lab → · Contrast checker → · Palette generator →

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