#DC52AB#DC52AB

#DC52AB is a light, vivid pink. Relative luminance 0.242; OKLCH L 64.9% C 0.196 H 344.3°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#DC52AB
RGBrgb(220, 82, 171)
HSLhsl(321, 66%, 59%)
HSVhsv(321, 63%, 86%)
CMYKcmyk(0%, 62.7%, 22.3%, 13.7%)
CIE-LABlab(56.28, 62.77, -19.90)
CIE-LCHlch(56.28, 65.85, 342.41°)
OKLaboklab(64.89% 0.1886 -0.0529)
OKLCHoklch(64.89% 0.196 344.3)
XYZxyz(39.8845, 24.1943, 41.0896)
Luminance0.2419 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC52AB #52DC83
analogous
#C852DC #DC52AB #DC5266
triadic
#DC52AB #ABDC52 #52ABDC
tetradic
#DC52AB #DCC852 #52DC83 #5266DC
square
#DC52AB #DCC852 #52DC83 #5266DC
split-complementary
#DC52AB #66DC52 #52DCC8
monochromatic
#951E6B #C82990 #DC52AB #E685C4 #F1B8DC

Accessibility & contrast

On white

3.60
#DC52AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#DC52AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC52AB
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC52AB#FFFFFF#000000##000000
##DC52AB1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F78AE
Deuteranopia (green-blind)
#878FA8
Tritanopia (blue-blind)
#EA5177
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #dc52ab;
/* rgb */ color: rgb(220, 82, 171);
/* oklch */ color: oklch(64.9% 0.196 344.3);
Tailwind
colors: {
  custom: {
    50: '#ea8bc4',
    500: '#dc52ab',
    950: '#000000',
  },
}
SCSS
$custom: #dc52ab;
$custom-light: #ea8bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#dc52ab",
  "rgb": {
    "r": 220,
    "g": 82,
    "b": 171
  },
  "hsl": {
    "h": 321.304,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.64886,
    "c": 0.1959,
    "h": 344.3
  },
  "luminance": 0.24191
}

Semantic roles & 50–950 ramp

primary
#DC52AB
secondary
#AAE0BD
accent
#E97B3F
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170C12
muted
#857D81

Preview Lab

Preview with #DC52AB

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

Preview Lab → · Contrast checker → · Palette generator →

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