#CD52B4#CD52B4

#CD52B4 is a light, vivid pink. Relative luminance 0.223; OKLCH L 63.1% C 0.191 H 336.3°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#CD52B4
RGBrgb(205, 82, 180)
HSLhsl(312, 55%, 56%)
HSVhsv(312, 60%, 80%)
CMYKcmyk(0%, 60%, 12.2%, 19.6%)
CIE-LABlab(54.36, 59.95, -28.29)
CIE-LCHlch(54.36, 66.28, 334.74°)
OKLaboklab(63.14% 0.1751 -0.0767)
OKLCHoklch(63.14% 0.191 336.3)
XYZxyz(36.4327, 22.3119, 45.5589)
Luminance0.2231 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD52B4 #52CD6B
analogous
#A952CD #CD52B4 #CD5277
triadic
#CD52B4 #B4CD52 #52B4CD
tetradic
#CD52B4 #CDA952 #52CD6B #5277CD
square
#CD52B4 #CDA952 #52CD6B #5277CD
split-complementary
#CD52B4 #77CD52 #52CDA9
monochromatic
#80256D #AF3396 #CD52B4 #DB81C9 #E8B1DD

Accessibility & contrast

On white

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

On black

5.46
#CD52B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD52B4
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD52B4#FFFFFF#000000##000000
##CD52B41.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5476B7
Deuteranopia (green-blind)
#7989B1
Tritanopia (blue-blind)
#D7587C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cd52b4;
/* rgb */ color: rgb(205, 82, 180);
/* oklch */ color: oklch(63.1% 0.191 336.3);
Tailwind
colors: {
  custom: {
    50: '#df89ca',
    500: '#cd52b4',
    950: '#000000',
  },
}
SCSS
$custom: #cd52b4;
$custom-light: #df89ca;
$custom-dark: #000000;
JSON
{
  "hex": "#cd52b4",
  "rgb": {
    "r": 205,
    "g": 82,
    "b": 180
  },
  "hsl": {
    "h": 312.195,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.63141,
    "c": 0.1912,
    "h": 336.3
  },
  "luminance": 0.22309
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD52B4

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

Preview Lab → · Contrast checker → · Palette generator →

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