#DC52B2#DC52B2

#DC52B2 is a light, highly saturated pink. Relative luminance 0.245; OKLCH L 65.2% C 0.200 H 341.6°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#DC52B2
RGBrgb(220, 82, 178)
HSLhsl(318, 66%, 59%)
HSVhsv(318, 63%, 86%)
CMYKcmyk(0%, 62.7%, 19.1%, 13.7%)
CIE-LABlab(56.55, 63.73, -23.55)
CIE-LCHlch(56.55, 67.94, 339.72°)
OKLaboklab(65.18% 0.1901 -0.0631)
OKLCHoklch(65.18% 0.2 341.6)
XYZxyz(40.5694, 24.4683, 44.6971)
Luminance0.2447 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC52B2 #52DC7C
analogous
#C152DC #DC52B2 #DC526D
triadic
#DC52B2 #B2DC52 #52B2DC
tetradic
#DC52B2 #DCC152 #52DC7C #526DDC
square
#DC52B2 #DCC152 #52DC7C #526DDC
split-complementary
#DC52B2 #6DDC52 #52DCC1
monochromatic
#951E71 #C82998 #DC52B2 #E685C9 #F1B8DF

Accessibility & contrast

On white

3.56
#DC52B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#DC52B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC52B2
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC52B2#FFFFFF#000000##000000
##DC52B21.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C79B5
Deuteranopia (green-blind)
#8590AF
Tritanopia (blue-blind)
#E9547B
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #dc52b2;
/* rgb */ color: rgb(220, 82, 178);
/* oklch */ color: oklch(65.2% 0.200 341.6);
Tailwind
colors: {
  custom: {
    50: '#ea8bc9',
    500: '#dc52b2',
    950: '#000000',
  },
}
SCSS
$custom: #dc52b2;
$custom-light: #ea8bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#dc52b2",
  "rgb": {
    "r": 220,
    "g": 82,
    "b": 178
  },
  "hsl": {
    "h": 318.261,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.65175,
    "c": 0.2003,
    "h": 341.6
  },
  "luminance": 0.24465
}

Semantic roles & 50–950 ramp

primary
#DC52B2
secondary
#AAE0BA
accent
#E9723F
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170D13
muted
#857D82

Preview Lab

Preview with #DC52B2

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

Preview Lab → · Contrast checker → · Palette generator →

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