#CC5DB4#CC5DB4

#CC5DB4 is a light, vivid pink. Relative luminance 0.240; OKLCH L 64.4% C 0.174 H 336.5°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#CC5DB4
RGBrgb(204, 93, 180)
HSLhsl(313, 52%, 58%)
HSVhsv(313, 54%, 80%)
CMYKcmyk(0%, 54.4%, 11.8%, 20%)
CIE-LABlab(56.05, 54.69, -25.67)
CIE-LCHlch(56.05, 60.42, 334.85°)
OKLaboklab(64.36% 0.1594 -0.0694)
OKLCHoklch(64.36% 0.174 336.5)
XYZxyz(37.0547, 23.9641, 45.8451)
Luminance0.2396 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5DB4 #5DCC75
analogous
#AC5DCC #CC5DB4 #CC5D7C
triadic
#CC5DB4 #B4CC5D #5DB4CC
tetradic
#CC5DB4 #CCAC5D #5DCC75 #5D7CCC
square
#CC5DB4 #CCAC5D #5DCC75 #5D7CCC
split-complementary
#CC5DB4 #7CCC5D #5DCCAC
monochromatic
#852A71 #B33899 #CC5DB4 #DB8CCA #E9BADF

Accessibility & contrast

On white

3.63
#CC5DB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#CC5DB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5DB4
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5DB4#FFFFFF#000000##000000
##CC5DB41.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7CB7
Deuteranopia (green-blind)
#7F8DB1
Tritanopia (blue-blind)
#D56280
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cc5db4;
/* rgb */ color: rgb(204, 93, 180);
/* oklch */ color: oklch(64.4% 0.174 336.5);
Tailwind
colors: {
  custom: {
    50: '#de90ca',
    500: '#cc5db4',
    950: '#000000',
  },
}
SCSS
$custom: #cc5db4;
$custom-light: #de90ca;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5db4",
  "rgb": {
    "r": 204,
    "g": 93,
    "b": 180
  },
  "hsl": {
    "h": 312.973,
    "s": 52.113,
    "l": 58.235
  },
  "oklch": {
    "l": 0.6436,
    "c": 0.1739,
    "h": 336.5
  },
  "luminance": 0.23961
}

Semantic roles & 50–950 ramp

primary
#CC5DB4
secondary
#ACD9B6
accent
#DC6B4C
background
#FDF9FC
surface
#FBF1F8
border
#D4CBD1
text
#150D13
muted
#837E82

Preview Lab

Preview with #CC5DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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