#CD52A2#CD52A2

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

Color values

HEX#CD52A2
RGBrgb(205, 82, 162)
HSLhsl(321, 55%, 56%)
HSVhsv(321, 60%, 80%)
CMYKcmyk(0%, 60%, 21%, 19.6%)
CIE-LABlab(53.63, 57.29, -18.91)
CIE-LCHlch(53.63, 60.34, 341.73°)
OKLaboklab(62.37% 0.1715 -0.0504)
OKLCHoklch(62.37% 0.179 343.6)
XYZxyz(34.7167, 21.6255, 36.5212)
Luminance0.2162 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD52A2 #52CD7D
analogous
#BB52CD #CD52A2 #CD5265
triadic
#CD52A2 #A2CD52 #52A2CD
tetradic
#CD52A2 #CDBB52 #52CD7D #5265CD
square
#CD52A2 #CDBB52 #52CD7D #5265CD
split-complementary
#CD52A2 #65CD52 #52CDBB
monochromatic
#802560 #AF3384 #CD52A2 #DB81BC #E8B1D5

Accessibility & contrast

On white

3.94
#CD52A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD52A2#FFFFFF#000000##000000
##CD52A21.003.945.325.32
#FFFFFF3.941.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C73A4
Deuteranopia (green-blind)
#80889F
Tritanopia (blue-blind)
#D95273
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cd52a2;
/* rgb */ color: rgb(205, 82, 162);
/* oklch */ color: oklch(62.4% 0.179 343.6);
Tailwind
colors: {
  custom: {
    50: '#df89bd',
    500: '#cd52a2',
    950: '#000000',
  },
}
SCSS
$custom: #cd52a2;
$custom-light: #df89bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd52a2",
  "rgb": {
    "r": 205,
    "g": 82,
    "b": 162
  },
  "hsl": {
    "h": 320.976,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.62366,
    "c": 0.17877,
    "h": 343.6
  },
  "luminance": 0.21622
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD52A2

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

Preview Lab → · Contrast checker → · Palette generator →

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