#CD52B3#CD52B3

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

Color values

HEX#CD52B3
RGBrgb(205, 82, 179)
HSLhsl(313, 55%, 56%)
HSVhsv(313, 60%, 80%)
CMYKcmyk(0%, 60%, 12.7%, 19.6%)
CIE-LABlab(54.31, 59.79, -27.77)
CIE-LCHlch(54.31, 65.93, 335.09°)
OKLaboklab(63.1% 0.175 -0.0752)
OKLCHoklch(63.1% 0.19 336.7)
XYZxyz(36.3312, 22.2713, 45.0244)
Luminance0.2227 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD52B3 #52CD6C
analogous
#AA52CD #CD52B3 #CD5276
triadic
#CD52B3 #B3CD52 #52B3CD
tetradic
#CD52B3 #CDAA52 #52CD6C #5276CD
square
#CD52B3 #CDAA52 #52CD6C #5276CD
split-complementary
#CD52B3 #76CD52 #52CDAA
monochromatic
#80256D #AF3395 #CD52B3 #DB81C8 #E8B1DD

Accessibility & contrast

On white

3.85
#CD52B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#CD52B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD52B3
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD52B3#FFFFFF#000000##000000
##CD52B31.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5476B6
Deuteranopia (green-blind)
#7A89B0
Tritanopia (blue-blind)
#D7587B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cd52b3;
/* rgb */ color: rgb(205, 82, 179);
/* oklch */ color: oklch(63.1% 0.190 336.7);
Tailwind
colors: {
  custom: {
    50: '#df89ca',
    500: '#cd52b3',
    950: '#000000',
  },
}
SCSS
$custom: #cd52b3;
$custom-light: #df89ca;
$custom-dark: #000000;
JSON
{
  "hex": "#cd52b3",
  "rgb": {
    "r": 205,
    "g": 82,
    "b": 179
  },
  "hsl": {
    "h": 312.683,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.63095,
    "c": 0.19046,
    "h": 336.7
  },
  "luminance": 0.22268
}

Semantic roles & 50–950 ramp

primary
#CD52B3
secondary
#A4D7AF
accent
#DE6949
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CD52B3

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

Preview Lab → · Contrast checker → · Palette generator →

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