#521332#521332

#521332 is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.5% C 0.098 H 354.4°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#521332
RGBrgb(82, 19, 50)
HSLhsl(330, 62%, 20%)
HSVhsv(330, 77%, 32%)
CMYKcmyk(0%, 76.8%, 39%, 67.8%)
CIE-LABlab(17.88, 31.99, -3.77)
CIE-LCHlch(17.88, 32.21, 353.27°)
OKLaboklab(30.5% 0.098 -0.0096)
OKLCHoklch(30.5% 0.098 354.4)
XYZxyz(4.2885, 2.4904, 3.2718)
Luminance0.0249 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521332 #135233
analogous
#521352 #521332 #521313
triadic
#521332 #325213 #133252
tetradic
#521332 #525213 #135233 #131352
square
#521332 #525213 #135233 #131352
split-complementary
#521332 #135213 #135252
monochromatic
#19060F #200714 #521332 #841F50 #B52A6F

Accessibility & contrast

On white

14.02
#521332 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#521332 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521332
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521332#FFFFFF#000000##FFFFFF
##5213321.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2433
Deuteranopia (green-blind)
#303031
Tritanopia (blue-blind)
#590D20
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #521332;
/* rgb */ color: rgb(82, 19, 50);
/* oklch */ color: oklch(30.5% 0.098 354.4);
Tailwind
colors: {
  custom: {
    50: '#865769',
    500: '#521332',
    950: '#000000',
  },
}
SCSS
$custom: #521332;
$custom-light: #865769;
$custom-dark: #000000;
JSON
{
  "hex": "#521332",
  "rgb": {
    "r": 82,
    "g": 19,
    "b": 50
  },
  "hsl": {
    "h": 330.476,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30498,
    "c": 0.09845,
    "h": 354.4
  },
  "luminance": 0.0249
}

Semantic roles & 50–950 ramp

primary
#521332
secondary
#368A61
accent
#E59542
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #521332

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

Preview Lab → · Contrast checker → · Palette generator →

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