#CD52A8#CD52A8

#CD52A8 is a light, vivid pink. Relative luminance 0.218; OKLCH L 62.6% C 0.183 H 341.1°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#CD52A8
RGBrgb(205, 82, 168)
HSLhsl(318, 55%, 56%)
HSVhsv(318, 60%, 80%)
CMYKcmyk(0%, 60%, 18%, 19.6%)
CIE-LABlab(53.86, 58.15, -22.07)
CIE-LCHlch(53.86, 62.20, 339.22°)
OKLaboklab(62.61% 0.1729 -0.0592)
OKLCHoklch(62.61% 0.183 341.1)
XYZxyz(35.2628, 21.8439, 39.3973)
Luminance0.2184 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD52A8 #52CD77
analogous
#B552CD #CD52A8 #CD526B
triadic
#CD52A8 #A8CD52 #52A8CD
tetradic
#CD52A8 #CDB552 #52CD77 #526BCD
square
#CD52A8 #CDB552 #52CD77 #526BCD
split-complementary
#CD52A8 #6BCD52 #52CDB5
monochromatic
#802564 #AF338A #CD52A8 #DB81C0 #E8B1D8

Accessibility & contrast

On white

3.91
#CD52A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#CD52A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD52A8
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD52A8#FFFFFF#000000##000000
##CD52A81.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A74AB
Deuteranopia (green-blind)
#7E88A5
Tritanopia (blue-blind)
#D85476
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cd52a8;
/* rgb */ color: rgb(205, 82, 168);
/* oklch */ color: oklch(62.6% 0.183 341.1);
Tailwind
colors: {
  custom: {
    50: '#df89c2',
    500: '#cd52a8',
    950: '#000000',
  },
}
SCSS
$custom: #cd52a8;
$custom-light: #df89c2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd52a8",
  "rgb": {
    "r": 205,
    "g": 82,
    "b": 168
  },
  "hsl": {
    "h": 318.049,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.62614,
    "c": 0.1827,
    "h": 341.1
  },
  "luminance": 0.21841
}

Semantic roles & 50–950 ramp

primary
#CD52A8
secondary
#A4D7B3
accent
#DE7649
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CD52A8

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

Preview Lab → · Contrast checker → · Palette generator →

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