#521232#521232

#521232 is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.4% C 0.100 H 354.2°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#521232
RGBrgb(82, 18, 50)
HSLhsl(330, 64%, 20%)
HSVhsv(330, 78%, 32%)
CMYKcmyk(0%, 78%, 39%, 67.8%)
CIE-LABlab(17.72, 32.41, -4.00)
CIE-LCHlch(17.72, 32.66, 352.97°)
OKLaboklab(30.39% 0.0993 -0.0102)
OKLCHoklch(30.39% 0.1 354.2)
XYZxyz(4.2720, 2.4572, 3.2663)
Luminance0.0246 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521232 #125232
analogous
#521252 #521232 #521212
triadic
#521232 #325212 #123252
tetradic
#521232 #525212 #125232 #121252
square
#521232 #525212 #125232 #121252
split-complementary
#521232 #125212 #125252
monochromatic
#19060F #200713 #521232 #841D51 #B6286F

Accessibility & contrast

On white

14.08
#521232 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#521232 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521232
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521232#FFFFFF#000000##FFFFFF
##5212321.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2433
Deuteranopia (green-blind)
#2F3031
Tritanopia (blue-blind)
#590C20
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #521232;
/* rgb */ color: rgb(82, 18, 50);
/* oklch */ color: oklch(30.4% 0.100 354.2);
Tailwind
colors: {
  custom: {
    50: '#865669',
    500: '#521232',
    950: '#000000',
  },
}
SCSS
$custom: #521232;
$custom-light: #865669;
$custom-dark: #000000;
JSON
{
  "hex": "#521232",
  "rgb": {
    "r": 82,
    "g": 18,
    "b": 50
  },
  "hsl": {
    "h": 330,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30387,
    "c": 0.09983,
    "h": 354.2
  },
  "luminance": 0.02457
}

Semantic roles & 50–950 ramp

primary
#521232
secondary
#358B60
accent
#E79441
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #521232

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

Preview Lab → · Contrast checker → · Palette generator →

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