#CD52A4#CD52A4

#CD52A4 is a light, vivid pink. Relative luminance 0.217; OKLCH L 62.4% C 0.180 H 342.8°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#CD52A4
RGBrgb(205, 82, 164)
HSLhsl(320, 55%, 56%)
HSVhsv(320, 60%, 80%)
CMYKcmyk(0%, 60%, 20%, 19.6%)
CIE-LABlab(53.70, 57.58, -19.97)
CIE-LCHlch(53.70, 60.94, 340.87°)
OKLaboklab(62.45% 0.172 -0.0533)
OKLCHoklch(62.45% 0.18 342.8)
XYZxyz(34.8959, 21.6972, 37.4649)
Luminance0.2169 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD52A4 #52CD7B
analogous
#B952CD #CD52A4 #CD5267
triadic
#CD52A4 #A4CD52 #52A4CD
tetradic
#CD52A4 #CDB952 #52CD7B #5267CD
square
#CD52A4 #CDB952 #52CD7B #5267CD
split-complementary
#CD52A4 #67CD52 #52CDB9
monochromatic
#802561 #AF3386 #CD52A4 #DB81BD #E8B1D6

Accessibility & contrast

On white

3.93
#CD52A4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#CD52A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD52A4
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD52A4#FFFFFF#000000##000000
##CD52A41.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B74A7
Deuteranopia (green-blind)
#7F88A1
Tritanopia (blue-blind)
#D95374
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cd52a4;
/* rgb */ color: rgb(205, 82, 164);
/* oklch */ color: oklch(62.4% 0.180 342.8);
Tailwind
colors: {
  custom: {
    50: '#df89bf',
    500: '#cd52a4',
    950: '#000000',
  },
}
SCSS
$custom: #cd52a4;
$custom-light: #df89bf;
$custom-dark: #000000;
JSON
{
  "hex": "#cd52a4",
  "rgb": {
    "r": 205,
    "g": 82,
    "b": 164
  },
  "hsl": {
    "h": 320,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.62447,
    "c": 0.18006,
    "h": 342.8
  },
  "luminance": 0.21694
}

Semantic roles & 50–950 ramp

primary
#CD52A4
secondary
#A4D7B5
accent
#DE7B49
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CD52A4

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

Preview Lab → · Contrast checker → · Palette generator →

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