#CD52AC#CD52AC

#CD52AC is a light, vivid pink. Relative luminance 0.220; OKLCH L 62.8% C 0.185 H 339.5°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#CD52AC
RGBrgb(205, 82, 172)
HSLhsl(316, 55%, 56%)
HSVhsv(316, 60%, 80%)
CMYKcmyk(0%, 60%, 16.1%, 19.6%)
CIE-LABlab(54.02, 58.74, -24.15)
CIE-LCHlch(54.02, 63.51, 337.65°)
OKLaboklab(62.79% 0.1737 -0.065)
OKLCHoklch(62.79% 0.185 339.5)
XYZxyz(35.6412, 21.9953, 41.3901)
Luminance0.2199 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD52AC #52CD73
analogous
#B152CD #CD52AC #CD526F
triadic
#CD52AC #ACCD52 #52ACCD
tetradic
#CD52AC #CDB152 #52CD73 #526FCD
square
#CD52AC #CDB152 #52CD73 #526FCD
split-complementary
#CD52AC #6FCD52 #52CDB1
monochromatic
#802567 #AF338E #CD52AC #DB81C3 #E8B1DA

Accessibility & contrast

On white

3.89
#CD52AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#CD52AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD52AC
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD52AC#FFFFFF#000000##000000
##CD52AC1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5875AF
Deuteranopia (green-blind)
#7C88A9
Tritanopia (blue-blind)
#D85578
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cd52ac;
/* rgb */ color: rgb(205, 82, 172);
/* oklch */ color: oklch(62.8% 0.185 339.5);
Tailwind
colors: {
  custom: {
    50: '#df89c5',
    500: '#cd52ac',
    950: '#000000',
  },
}
SCSS
$custom: #cd52ac;
$custom-light: #df89c5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd52ac",
  "rgb": {
    "r": 205,
    "g": 82,
    "b": 172
  },
  "hsl": {
    "h": 316.098,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.62786,
    "c": 0.18545,
    "h": 339.5
  },
  "luminance": 0.21992
}

Semantic roles & 50–950 ramp

primary
#CD52AC
secondary
#A4D7B2
accent
#DE7149
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C12
muted
#847D81

Preview Lab

Preview with #CD52AC

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

Preview Lab → · Contrast checker → · Palette generator →

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