#DC52C1#DC52C1

#DC52C1 is a light, highly saturated pink. Relative luminance 0.251; OKLCH L 65.8% C 0.211 H 336.2°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#DC52C1
RGBrgb(220, 82, 193)
HSLhsl(312, 66%, 59%)
HSVhsv(312, 63%, 86%)
CMYKcmyk(0%, 62.7%, 12.3%, 13.7%)
CIE-LABlab(57.18, 65.90, -31.23)
CIE-LCHlch(57.18, 72.92, 334.65°)
OKLaboklab(65.83% 0.1927 -0.0848)
OKLCHoklch(65.83% 0.211 336.2)
XYZxyz(42.1586, 25.1040, 53.0669)
Luminance0.2510 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC52C1 #52DC6D
analogous
#B252DC #DC52C1 #DC527C
triadic
#DC52C1 #C1DC52 #52C1DC
tetradic
#DC52C1 #DCB252 #52DC6D #527CDC
square
#DC52C1 #DCB252 #52DC6D #527CDC
split-complementary
#DC52C1 #7CDC52 #52DCB2
monochromatic
#951E7E #C829A9 #DC52C1 #E685D3 #F1B8E5

Accessibility & contrast

On white

3.49
#DC52C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#DC52C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC52C1
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC52C1#FFFFFF#000000##000000
##DC52C11.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#547CC4
Deuteranopia (green-blind)
#7F91BD
Tritanopia (blue-blind)
#E75A82
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #dc52c1;
/* rgb */ color: rgb(220, 82, 193);
/* oklch */ color: oklch(65.8% 0.211 336.2);
Tailwind
colors: {
  custom: {
    50: '#ea8bd4',
    500: '#dc52c1',
    950: '#000000',
  },
}
SCSS
$custom: #dc52c1;
$custom-light: #ea8bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#dc52c1",
  "rgb": {
    "r": 220,
    "g": 82,
    "b": 193
  },
  "hsl": {
    "h": 311.739,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.65834,
    "c": 0.21054,
    "h": 336.2
  },
  "luminance": 0.251
}

Semantic roles & 50–950 ramp

primary
#DC52C1
secondary
#AAE0B4
accent
#E9603F
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#170D14
muted
#857D83

Preview Lab

Preview with #DC52C1

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

Preview Lab → · Contrast checker → · Palette generator →

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