#CD52AA#CD52AA

#CD52AA is a light, vivid pink. Relative luminance 0.219; OKLCH L 62.7% C 0.184 H 340.3°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#CD52AA
RGBrgb(205, 82, 170)
HSLhsl(317, 55%, 56%)
HSVhsv(317, 60%, 80%)
CMYKcmyk(0%, 60%, 17.1%, 19.6%)
CIE-LABlab(53.94, 58.44, -23.11)
CIE-LCHlch(53.94, 62.85, 338.42°)
OKLaboklab(62.7% 0.1733 -0.0621)
OKLCHoklch(62.7% 0.184 340.3)
XYZxyz(35.4506, 21.9190, 40.3861)
Luminance0.2192 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD52AA #52CD75
analogous
#B352CD #CD52AA #CD526D
triadic
#CD52AA #AACD52 #52AACD
tetradic
#CD52AA #CDB352 #52CD75 #526DCD
square
#CD52AA #CDB352 #52CD75 #526DCD
split-complementary
#CD52AA #6DCD52 #52CDB3
monochromatic
#802566 #AF338C #CD52AA #DB81C1 #E8B1D9

Accessibility & contrast

On white

3.90
#CD52AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#CD52AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD52AA
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD52AA#FFFFFF#000000##000000
##CD52AA1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5974AD
Deuteranopia (green-blind)
#7D88A7
Tritanopia (blue-blind)
#D85577
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cd52aa;
/* rgb */ color: rgb(205, 82, 170);
/* oklch */ color: oklch(62.7% 0.184 340.3);
Tailwind
colors: {
  custom: {
    50: '#df89c3',
    500: '#cd52aa',
    950: '#000000',
  },
}
SCSS
$custom: #cd52aa;
$custom-light: #df89c3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd52aa",
  "rgb": {
    "r": 205,
    "g": 82,
    "b": 170
  },
  "hsl": {
    "h": 317.073,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.62699,
    "c": 0.18407,
    "h": 340.3
  },
  "luminance": 0.21916
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD52AA

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

Preview Lab → · Contrast checker → · Palette generator →

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