#CD52B5#CD52B5

#CD52B5 is a light, vivid pink. Relative luminance 0.224; OKLCH L 63.2% C 0.192 H 336.0°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#CD52B5
RGBrgb(205, 82, 181)
HSLhsl(312, 55%, 56%)
HSVhsv(312, 60%, 80%)
CMYKcmyk(0%, 60%, 11.7%, 19.6%)
CIE-LABlab(54.40, 60.10, -28.80)
CIE-LCHlch(54.40, 66.64, 334.40°)
OKLaboklab(63.19% 0.1753 -0.0782)
OKLCHoklch(63.19% 0.192 336)
XYZxyz(36.5350, 22.3528, 46.0974)
Luminance0.2235 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD52B5 #52CD6A
analogous
#A852CD #CD52B5 #CD5278
triadic
#CD52B5 #B5CD52 #52B5CD
tetradic
#CD52B5 #CDA852 #52CD6A #5278CD
square
#CD52B5 #CDA852 #52CD6A #5278CD
split-complementary
#CD52B5 #78CD52 #52CDA8
monochromatic
#80256E #AF3397 #CD52B5 #DB81C9 #E8B1DE

Accessibility & contrast

On white

3.84
#CD52B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#CD52B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD52B5
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD52B5#FFFFFF#000000##000000
##CD52B51.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5376B8
Deuteranopia (green-blind)
#7989B2
Tritanopia (blue-blind)
#D7597C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cd52b5;
/* rgb */ color: rgb(205, 82, 181);
/* oklch */ color: oklch(63.2% 0.192 336.0);
Tailwind
colors: {
  custom: {
    50: '#df89cb',
    500: '#cd52b5',
    950: '#000000',
  },
}
SCSS
$custom: #cd52b5;
$custom-light: #df89cb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd52b5",
  "rgb": {
    "r": 205,
    "g": 82,
    "b": 181
  },
  "hsl": {
    "h": 311.707,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.63186,
    "c": 0.19194,
    "h": 336
  },
  "luminance": 0.2235
}

Semantic roles & 50–950 ramp

primary
#CD52B5
secondary
#A4D7AE
accent
#DE6649
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CD52B5

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

Preview Lab → · Contrast checker → · Palette generator →

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