#CD52AB#CD52AB

#CD52AB is a light, vivid pink. Relative luminance 0.220; OKLCH L 62.7% C 0.185 H 339.9°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#CD52AB
RGBrgb(205, 82, 171)
HSLhsl(317, 55%, 56%)
HSVhsv(317, 60%, 80%)
CMYKcmyk(0%, 60%, 16.6%, 19.6%)
CIE-LABlab(53.98, 58.59, -23.63)
CIE-LCHlch(53.98, 63.18, 338.03°)
OKLaboklab(62.74% 0.1735 -0.0636)
OKLCHoklch(62.74% 0.185 339.9)
XYZxyz(35.5455, 21.9570, 40.8862)
Luminance0.2195 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD52AB #52CD74
analogous
#B252CD #CD52AB #CD526E
triadic
#CD52AB #ABCD52 #52ABCD
tetradic
#CD52AB #CDB252 #52CD74 #526ECD
square
#CD52AB #CDB252 #52CD74 #526ECD
split-complementary
#CD52AB #6ECD52 #52CDB2
monochromatic
#802567 #AF338D #CD52AB #DB81C2 #E8B1D9

Accessibility & contrast

On white

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

On black

5.39
#CD52AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD52AB
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD52AB#FFFFFF#000000##000000
##CD52AB1.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5875AE
Deuteranopia (green-blind)
#7D88A8
Tritanopia (blue-blind)
#D85577
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cd52ab;
/* rgb */ color: rgb(205, 82, 171);
/* oklch */ color: oklch(62.7% 0.185 339.9);
Tailwind
colors: {
  custom: {
    50: '#df89c4',
    500: '#cd52ab',
    950: '#000000',
  },
}
SCSS
$custom: #cd52ab;
$custom-light: #df89c4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd52ab",
  "rgb": {
    "r": 205,
    "g": 82,
    "b": 171
  },
  "hsl": {
    "h": 316.585,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.62742,
    "c": 0.18476,
    "h": 339.9
  },
  "luminance": 0.21954
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD52AB

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

Preview Lab → · Contrast checker → · Palette generator →

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