#CD52B1#CD52B1

#CD52B1 is a light, vivid pink. Relative luminance 0.222; OKLCH L 63.0% C 0.189 H 337.5°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#CD52B1
RGBrgb(205, 82, 177)
HSLhsl(314, 55%, 56%)
HSVhsv(314, 60%, 80%)
CMYKcmyk(0%, 60%, 13.7%, 19.6%)
CIE-LABlab(54.23, 59.49, -26.74)
CIE-LCHlch(54.23, 65.22, 335.79°)
OKLaboklab(63.01% 0.1746 -0.0723)
OKLCHoklch(63.01% 0.189 337.5)
XYZxyz(36.1304, 22.1910, 43.9668)
Luminance0.2219 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD52B1 #52CD6E
analogous
#AC52CD #CD52B1 #CD5274
triadic
#CD52B1 #B1CD52 #52B1CD
tetradic
#CD52B1 #CDAC52 #52CD6E #5274CD
square
#CD52B1 #CDAC52 #52CD6E #5274CD
split-complementary
#CD52B1 #74CD52 #52CDAC
monochromatic
#80256B #AF3393 #CD52B1 #DB81C6 #E8B1DC

Accessibility & contrast

On white

3.86
#CD52B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#CD52B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD52B1
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD52B1#FFFFFF#000000##000000
##CD52B11.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5576B4
Deuteranopia (green-blind)
#7B89AE
Tritanopia (blue-blind)
#D7577A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cd52b1;
/* rgb */ color: rgb(205, 82, 177);
/* oklch */ color: oklch(63.0% 0.189 337.5);
Tailwind
colors: {
  custom: {
    50: '#df89c8',
    500: '#cd52b1',
    950: '#000000',
  },
}
SCSS
$custom: #cd52b1;
$custom-light: #df89c8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd52b1",
  "rgb": {
    "r": 205,
    "g": 82,
    "b": 177
  },
  "hsl": {
    "h": 313.659,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.63006,
    "c": 0.18901,
    "h": 337.5
  },
  "luminance": 0.22188
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD52B1

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

Preview Lab → · Contrast checker → · Palette generator →

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