#CD52A6#CD52A6

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

Color values

HEX#CD52A6
RGBrgb(205, 82, 166)
HSLhsl(319, 55%, 56%)
HSVhsv(319, 60%, 80%)
CMYKcmyk(0%, 60%, 19%, 19.6%)
CIE-LABlab(53.78, 57.86, -21.02)
CIE-LCHlch(53.78, 61.56, 340.04°)
OKLaboklab(62.53% 0.1724 -0.0562)
OKLCHoklch(62.53% 0.181 341.9)
XYZxyz(35.0779, 21.7700, 38.4236)
Luminance0.2177 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD52A6 #52CD79
analogous
#B752CD #CD52A6 #CD5269
triadic
#CD52A6 #A6CD52 #52A6CD
tetradic
#CD52A6 #CDB752 #52CD79 #5269CD
square
#CD52A6 #CDB752 #52CD79 #5269CD
split-complementary
#CD52A6 #69CD52 #52CDB7
monochromatic
#802563 #AF3388 #CD52A6 #DB81BE #E8B1D7

Accessibility & contrast

On white

3.92
#CD52A6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD52A6#FFFFFF#000000##000000
##CD52A61.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B74A9
Deuteranopia (green-blind)
#7E88A3
Tritanopia (blue-blind)
#D95375
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cd52a6;
/* rgb */ color: rgb(205, 82, 166);
/* oklch */ color: oklch(62.5% 0.181 341.9);
Tailwind
colors: {
  custom: {
    50: '#df89c0',
    500: '#cd52a6',
    950: '#000000',
  },
}
SCSS
$custom: #cd52a6;
$custom-light: #df89c0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd52a6",
  "rgb": {
    "r": 205,
    "g": 82,
    "b": 166
  },
  "hsl": {
    "h": 319.024,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.6253,
    "c": 0.18137,
    "h": 341.9
  },
  "luminance": 0.21767
}

Semantic roles & 50–950 ramp

primary
#CD52A6
secondary
#A4D7B4
accent
#DE7949
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CD52A6

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

Preview Lab → · Contrast checker → · Palette generator →

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