#CD52B7#CD52B7

#CD52B7 is a light, vivid pink. Relative luminance 0.224; OKLCH L 63.3% C 0.193 H 335.2°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#CD52B7
RGBrgb(205, 82, 183)
HSLhsl(311, 55%, 56%)
HSVhsv(311, 60%, 80%)
CMYKcmyk(0%, 60%, 10.7%, 19.6%)
CIE-LABlab(54.49, 60.41, -29.82)
CIE-LCHlch(54.49, 67.37, 333.73°)
OKLaboklab(63.28% 0.1756 -0.0811)
OKLCHoklch(63.28% 0.193 335.2)
XYZxyz(36.7417, 22.4355, 47.1859)
Luminance0.2243 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD52B7 #52CD68
analogous
#A652CD #CD52B7 #CD527A
triadic
#CD52B7 #B7CD52 #52B7CD
tetradic
#CD52B7 #CDA652 #52CD68 #527ACD
square
#CD52B7 #CDA652 #52CD68 #527ACD
split-complementary
#CD52B7 #7ACD52 #52CDA6
monochromatic
#80256F #AF3399 #CD52B7 #DB81CB #E8B1DF

Accessibility & contrast

On white

3.83
#CD52B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#CD52B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD52B7
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD52B7#FFFFFF#000000##000000
##CD52B71.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5277BA
Deuteranopia (green-blind)
#7889B4
Tritanopia (blue-blind)
#D6597D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cd52b7;
/* rgb */ color: rgb(205, 82, 183);
/* oklch */ color: oklch(63.3% 0.193 335.2);
Tailwind
colors: {
  custom: {
    50: '#df8acd',
    500: '#cd52b7',
    950: '#000000',
  },
}
SCSS
$custom: #cd52b7;
$custom-light: #df8acd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd52b7",
  "rgb": {
    "r": 205,
    "g": 82,
    "b": 183
  },
  "hsl": {
    "h": 310.732,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.63278,
    "c": 0.19344,
    "h": 335.2
  },
  "luminance": 0.22433
}

Semantic roles & 50–950 ramp

primary
#CD52B7
secondary
#A4D7AD
accent
#DE6449
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C13
muted
#847D82

Preview Lab

Preview with #CD52B7

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

Preview Lab → · Contrast checker → · Palette generator →

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