#DC52A8#DC52A8

#DC52A8 is a light, vivid pink. Relative luminance 0.241; OKLCH L 64.8% C 0.194 H 345.5°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#DC52A8
RGBrgb(220, 82, 168)
HSLhsl(323, 66%, 59%)
HSVhsv(323, 63%, 86%)
CMYKcmyk(0%, 62.7%, 23.6%, 13.7%)
CIE-LABlab(56.17, 62.37, -18.33)
CIE-LCHlch(56.17, 65.01, 343.62°)
OKLaboklab(64.77% 0.1879 -0.0486)
OKLCHoklch(64.77% 0.194 345.5)
XYZxyz(39.6018, 24.0812, 39.6007)
Luminance0.2408 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC52A8 #52DC86
analogous
#CB52DC #DC52A8 #DC5263
triadic
#DC52A8 #A8DC52 #52A8DC
tetradic
#DC52A8 #DCCB52 #52DC86 #5263DC
square
#DC52A8 #DCCB52 #52DC86 #5263DC
split-complementary
#DC52A8 #63DC52 #52DCCB
monochromatic
#951E68 #C8298C #DC52A8 #E685C2 #F1B8DB

Accessibility & contrast

On white

3.61
#DC52A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#DC52A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC52A8
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC52A8#FFFFFF#000000##000000
##DC52A81.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6078AB
Deuteranopia (green-blind)
#888FA5
Tritanopia (blue-blind)
#EA5076
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #dc52a8;
/* rgb */ color: rgb(220, 82, 168);
/* oklch */ color: oklch(64.8% 0.194 345.5);
Tailwind
colors: {
  custom: {
    50: '#ea8bc2',
    500: '#dc52a8',
    950: '#000000',
  },
}
SCSS
$custom: #dc52a8;
$custom-light: #ea8bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#dc52a8",
  "rgb": {
    "r": 220,
    "g": 82,
    "b": 168
  },
  "hsl": {
    "h": 322.609,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.64766,
    "c": 0.19411,
    "h": 345.5
  },
  "luminance": 0.24077
}

Semantic roles & 50–950 ramp

primary
#DC52A8
secondary
#AAE0BE
accent
#E97F3F
background
#FEF8FB
surface
#FDF0F7
border
#D5CBD0
text
#170C12
muted
#857D81

Preview Lab

Preview with #DC52A8

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

Preview Lab → · Contrast checker → · Palette generator →

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