#DC52A6#DC52A6

#DC52A6 is a light, vivid pink. Relative luminance 0.240; OKLCH L 64.7% C 0.193 H 346.3°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#DC52A6
RGBrgb(220, 82, 166)
HSLhsl(323, 66%, 59%)
HSVhsv(323, 63%, 86%)
CMYKcmyk(0%, 62.7%, 24.5%, 13.7%)
CIE-LABlab(56.10, 62.11, -17.28)
CIE-LCHlch(56.10, 64.47, 344.45°)
OKLaboklab(64.69% 0.1875 -0.0457)
OKLCHoklch(64.69% 0.193 346.3)
XYZxyz(39.4169, 24.0073, 38.6270)
Luminance0.2400 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC52A6 #52DC88
analogous
#CD52DC #DC52A6 #DC5261
triadic
#DC52A6 #A6DC52 #52A6DC
tetradic
#DC52A6 #DCCD52 #52DC88 #5261DC
square
#DC52A6 #DCCD52 #52DC88 #5261DC
split-complementary
#DC52A6 #61DC52 #52DCCD
monochromatic
#951E67 #C8298A #DC52A6 #E685C0 #F1B8DA

Accessibility & contrast

On white

3.62
#DC52A6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#DC52A6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC52A6
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC52A6#FFFFFF#000000##000000
##DC52A61.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6177A9
Deuteranopia (green-blind)
#898FA3
Tritanopia (blue-blind)
#EA4F75
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #dc52a6;
/* rgb */ color: rgb(220, 82, 166);
/* oklch */ color: oklch(64.7% 0.193 346.3);
Tailwind
colors: {
  custom: {
    50: '#eb8ac0',
    500: '#dc52a6',
    950: '#000000',
  },
}
SCSS
$custom: #dc52a6;
$custom-light: #eb8ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#dc52a6",
  "rgb": {
    "r": 220,
    "g": 82,
    "b": 166
  },
  "hsl": {
    "h": 323.478,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.64687,
    "c": 0.19293,
    "h": 346.3
  },
  "luminance": 0.24003
}

Semantic roles & 50–950 ramp

primary
#DC52A6
secondary
#AAE0BF
accent
#E9813F
background
#FEF8FB
surface
#FDF0F7
border
#D5CBD0
text
#170C12
muted
#857D81

Preview Lab

Preview with #DC52A6

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

Preview Lab → · Contrast checker → · Palette generator →

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