#CD52A1#CD52A1

#CD52A1 is a light, vivid pink. Relative luminance 0.216; OKLCH L 62.3% C 0.178 H 344.1°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#CD52A1
RGBrgb(205, 82, 161)
HSLhsl(321, 55%, 56%)
HSVhsv(321, 60%, 80%)
CMYKcmyk(0%, 60%, 21.5%, 19.6%)
CIE-LABlab(53.59, 57.15, -18.39)
CIE-LCHlch(53.59, 60.04, 342.17°)
OKLaboklab(62.33% 0.1713 -0.0489)
OKLCHoklch(62.33% 0.178 344.1)
XYZxyz(34.6282, 21.5901, 36.0549)
Luminance0.2159 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD52A1 #52CD7E
analogous
#BB52CD #CD52A1 #CD5264
triadic
#CD52A1 #A1CD52 #52A1CD
tetradic
#CD52A1 #CDBB52 #52CD7E #5264CD
square
#CD52A1 #CDBB52 #52CD7E #5264CD
split-complementary
#CD52A1 #64CD52 #52CDBB
monochromatic
#80255F #AF3383 #CD52A1 #DB81BB #E8B1D5

Accessibility & contrast

On white

3.95
#CD52A1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#CD52A1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD52A1
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD52A1#FFFFFF#000000##000000
##CD52A11.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D73A3
Deuteranopia (green-blind)
#80889E
Tritanopia (blue-blind)
#D95172
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cd52a1;
/* rgb */ color: rgb(205, 82, 161);
/* oklch */ color: oklch(62.3% 0.178 344.1);
Tailwind
colors: {
  custom: {
    50: '#df89bd',
    500: '#cd52a1',
    950: '#000000',
  },
}
SCSS
$custom: #cd52a1;
$custom-light: #df89bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd52a1",
  "rgb": {
    "r": 205,
    "g": 82,
    "b": 161
  },
  "hsl": {
    "h": 321.463,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.62325,
    "c": 0.17813,
    "h": 344.1
  },
  "luminance": 0.21587
}

Semantic roles & 50–950 ramp

primary
#CD52A1
secondary
#A4D7B6
accent
#DE7F49
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CD52A1

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

Preview Lab → · Contrast checker → · Palette generator →

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