#DC52A2#DC52A2

#DC52A2 is a light, vivid pink. Relative luminance 0.239; OKLCH L 64.5% C 0.191 H 347.9°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#DC52A2
RGBrgb(220, 82, 162)
HSLhsl(325, 66%, 59%)
HSVhsv(325, 63%, 86%)
CMYKcmyk(0%, 62.7%, 26.4%, 13.7%)
CIE-LABlab(55.95, 61.59, -15.17)
CIE-LCHlch(55.95, 63.43, 346.17°)
OKLaboklab(64.53% 0.1865 -0.0398)
OKLCHoklch(64.53% 0.191 347.9)
XYZxyz(39.0557, 23.8628, 36.7245)
Luminance0.2386 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC52A2 #52DC8C
analogous
#D152DC #DC52A2 #DC525D
triadic
#DC52A2 #A2DC52 #52A2DC
tetradic
#DC52A2 #DCD152 #52DC8C #525DDC
square
#DC52A2 #DCD152 #52DC8C #525DDC
split-complementary
#DC52A2 #5DDC52 #52DCD1
monochromatic
#951E63 #C82985 #DC52A2 #E685BD #F1B8D9

Accessibility & contrast

On white

3.64
#DC52A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#DC52A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC52A2
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC52A2#FFFFFF#000000##000000
##DC52A21.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6377A4
Deuteranopia (green-blind)
#8A8F9F
Tritanopia (blue-blind)
#EB4E73
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #dc52a2;
/* rgb */ color: rgb(220, 82, 162);
/* oklch */ color: oklch(64.5% 0.191 347.9);
Tailwind
colors: {
  custom: {
    50: '#eb8abd',
    500: '#dc52a2',
    950: '#000000',
  },
}
SCSS
$custom: #dc52a2;
$custom-light: #eb8abd;
$custom-dark: #000000;
JSON
{
  "hex": "#dc52a2",
  "rgb": {
    "r": 220,
    "g": 82,
    "b": 162
  },
  "hsl": {
    "h": 325.217,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.64533,
    "c": 0.19068,
    "h": 347.9
  },
  "luminance": 0.23859
}

Semantic roles & 50–950 ramp

primary
#DC52A2
secondary
#AAE0C1
accent
#E9863F
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#170C12
muted
#857D81

Preview Lab

Preview with #DC52A2

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

Preview Lab → · Contrast checker → · Palette generator →

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