#CD52AF#CD52AF

#CD52AF is a light, vivid pink. Relative luminance 0.221; OKLCH L 62.9% C 0.188 H 338.3°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#CD52AF
RGBrgb(205, 82, 175)
HSLhsl(315, 55%, 56%)
HSVhsv(315, 60%, 80%)
CMYKcmyk(0%, 60%, 14.6%, 19.6%)
CIE-LABlab(54.15, 59.19, -25.71)
CIE-LCHlch(54.15, 64.53, 336.52°)
OKLaboklab(62.92% 0.1743 -0.0694)
OKLCHoklch(62.92% 0.188 338.3)
XYZxyz(35.9326, 22.1118, 42.9247)
Luminance0.2211 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD52AF #52CD70
analogous
#AE52CD #CD52AF #CD5272
triadic
#CD52AF #AFCD52 #52AFCD
tetradic
#CD52AF #CDAE52 #52CD70 #5272CD
square
#CD52AF #CDAE52 #52CD70 #5272CD
split-complementary
#CD52AF #72CD52 #52CDAE
monochromatic
#80256A #AF3391 #CD52AF #DB81C5 #E8B1DB

Accessibility & contrast

On white

3.87
#CD52AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#CD52AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD52AF
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD52AF#FFFFFF#000000##000000
##CD52AF1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5675B2
Deuteranopia (green-blind)
#7B88AC
Tritanopia (blue-blind)
#D85679
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cd52af;
/* rgb */ color: rgb(205, 82, 175);
/* oklch */ color: oklch(62.9% 0.188 338.3);
Tailwind
colors: {
  custom: {
    50: '#df89c7',
    500: '#cd52af',
    950: '#000000',
  },
}
SCSS
$custom: #cd52af;
$custom-light: #df89c7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd52af",
  "rgb": {
    "r": 205,
    "g": 82,
    "b": 175
  },
  "hsl": {
    "h": 314.634,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.62917,
    "c": 0.18757,
    "h": 338.3
  },
  "luminance": 0.22109
}

Semantic roles & 50–950 ramp

primary
#CD52AF
secondary
#A4D7B0
accent
#DE6E49
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CD52AF

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

Preview Lab → · Contrast checker → · Palette generator →

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