#CD52B2#CD52B2

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

Color values

HEX#CD52B2
RGBrgb(205, 82, 178)
HSLhsl(313, 55%, 56%)
HSVhsv(313, 60%, 80%)
CMYKcmyk(0%, 60%, 13.2%, 19.6%)
CIE-LABlab(54.27, 59.64, -27.26)
CIE-LCHlch(54.27, 65.57, 335.44°)
OKLaboklab(63.05% 0.1748 -0.0738)
OKLCHoklch(63.05% 0.19 337.1)
XYZxyz(36.2305, 22.2310, 44.4937)
Luminance0.2223 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD52B2 #52CD6D
analogous
#AB52CD #CD52B2 #CD5275
triadic
#CD52B2 #B2CD52 #52B2CD
tetradic
#CD52B2 #CDAB52 #52CD6D #5275CD
square
#CD52B2 #CDAB52 #52CD6D #5275CD
split-complementary
#CD52B2 #75CD52 #52CDAB
monochromatic
#80256C #AF3394 #CD52B2 #DB81C7 #E8B1DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD52B2#FFFFFF#000000##000000
##CD52B21.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5576B5
Deuteranopia (green-blind)
#7A89AF
Tritanopia (blue-blind)
#D7577B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cd52b2;
/* rgb */ color: rgb(205, 82, 178);
/* oklch */ color: oklch(63.0% 0.190 337.1);
Tailwind
colors: {
  custom: {
    50: '#df89c9',
    500: '#cd52b2',
    950: '#000000',
  },
}
SCSS
$custom: #cd52b2;
$custom-light: #df89c9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd52b2",
  "rgb": {
    "r": 205,
    "g": 82,
    "b": 178
  },
  "hsl": {
    "h": 313.171,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.6305,
    "c": 0.18974,
    "h": 337.1
  },
  "luminance": 0.22228
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD52B2

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

Preview Lab → · Contrast checker → · Palette generator →

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