#CD52A5#CD52A5

#CD52A5 is a light, vivid pink. Relative luminance 0.217; OKLCH L 62.5% C 0.181 H 342.4°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#CD52A5
RGBrgb(205, 82, 165)
HSLhsl(320, 55%, 56%)
HSVhsv(320, 60%, 80%)
CMYKcmyk(0%, 60%, 19.5%, 19.6%)
CIE-LABlab(53.74, 57.72, -20.49)
CIE-LCHlch(53.74, 61.25, 340.45°)
OKLaboklab(62.49% 0.1722 -0.0548)
OKLCHoklch(62.49% 0.181 342.4)
XYZxyz(34.9866, 21.7334, 37.9424)
Luminance0.2173 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD52A5 #52CD7A
analogous
#B852CD #CD52A5 #CD5268
triadic
#CD52A5 #A5CD52 #52A5CD
tetradic
#CD52A5 #CDB852 #52CD7A #5268CD
square
#CD52A5 #CDB852 #52CD7A #5268CD
split-complementary
#CD52A5 #68CD52 #52CDB8
monochromatic
#802562 #AF3387 #CD52A5 #DB81BE #E8B1D6

Accessibility & contrast

On white

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

On black

5.35
#CD52A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD52A5
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD52A5#FFFFFF#000000##000000
##CD52A51.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd52a5;
/* rgb */ color: rgb(205, 82, 165);
/* oklch */ color: oklch(62.5% 0.181 342.4);
Tailwind
colors: {
  custom: {
    50: '#df89bf',
    500: '#cd52a5',
    950: '#000000',
  },
}
SCSS
$custom: #cd52a5;
$custom-light: #df89bf;
$custom-dark: #000000;
JSON
{
  "hex": "#cd52a5",
  "rgb": {
    "r": 205,
    "g": 82,
    "b": 165
  },
  "hsl": {
    "h": 319.512,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.62489,
    "c": 0.18071,
    "h": 342.4
  },
  "luminance": 0.2173
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD52A5

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

Preview Lab → · Contrast checker → · Palette generator →

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