#DC52C4#DC52C4

#DC52C4 is a light, highly saturated pink. Relative luminance 0.252; OKLCH L 66.0% C 0.213 H 335.2°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#DC52C4
RGBrgb(220, 82, 196)
HSLhsl(310, 66%, 59%)
HSVhsv(310, 63%, 86%)
CMYKcmyk(0%, 62.7%, 10.9%, 13.7%)
CIE-LABlab(57.31, 66.35, -32.74)
CIE-LCHlch(57.31, 73.99, 333.74°)
OKLaboklab(65.97% 0.1931 -0.0891)
OKLCHoklch(65.97% 0.213 335.2)
XYZxyz(42.4967, 25.2392, 54.8473)
Luminance0.2524 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC52C4 #52DC6A
analogous
#AF52DC #DC52C4 #DC527F
triadic
#DC52C4 #C4DC52 #52C4DC
tetradic
#DC52C4 #DCAF52 #52DC6A #527FDC
square
#DC52C4 #DCAF52 #52DC6A #527FDC
split-complementary
#DC52C4 #7FDC52 #52DCAF
monochromatic
#951E81 #C829AC #DC52C4 #E685D5 #F1B8E7

Accessibility & contrast

On white

3.47
#DC52C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#DC52C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC52C4
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC52C4#FFFFFF#000000##000000
##DC52C41.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#527CC7
Deuteranopia (green-blind)
#7E91C0
Tritanopia (blue-blind)
#E65B84
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #dc52c4;
/* rgb */ color: rgb(220, 82, 196);
/* oklch */ color: oklch(66.0% 0.213 335.2);
Tailwind
colors: {
  custom: {
    50: '#ea8bd6',
    500: '#dc52c4',
    950: '#000000',
  },
}
SCSS
$custom: #dc52c4;
$custom-light: #ea8bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#dc52c4",
  "rgb": {
    "r": 220,
    "g": 82,
    "b": 196
  },
  "hsl": {
    "h": 310.435,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.65973,
    "c": 0.21271,
    "h": 335.2
  },
  "luminance": 0.25236
}

Semantic roles & 50–950 ramp

primary
#DC52C4
secondary
#AAE0B3
accent
#E95C3F
background
#FEF9FD
surface
#FDF1FA
border
#D5CBD3
text
#170D14
muted
#857E83

Preview Lab

Preview with #DC52C4

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

Preview Lab → · Contrast checker → · Palette generator →

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