#CC5DA7#CC5DA7

#CC5DA7 is a light, vivid pink. Relative luminance 0.235; OKLCH L 63.8% C 0.164 H 342.1°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#CC5DA7
RGBrgb(204, 93, 167)
HSLhsl(320, 52%, 58%)
HSVhsv(320, 54%, 80%)
CMYKcmyk(0%, 54.4%, 18.1%, 20%)
CIE-LABlab(55.54, 52.69, -18.92)
CIE-LCHlch(55.54, 55.99, 340.25°)
OKLaboklab(63.82% 0.1565 -0.0505)
OKLCHoklch(63.82% 0.164 342.1)
XYZxyz(35.7920, 23.4590, 39.1947)
Luminance0.2346 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5DA7 #5DCC82
analogous
#B95DCC #CC5DA7 #CC5D6F
triadic
#CC5DA7 #A7CC5D #5DA7CC
tetradic
#CC5DA7 #CCB95D #5DCC82 #5D6FCC
square
#CC5DA7 #CCB95D #5DCC82 #5D6FCC
split-complementary
#CC5DA7 #6FCC5D #5DCCB9
monochromatic
#852A66 #B3388A #CC5DA7 #DB8CC0 #E9BADA

Accessibility & contrast

On white

3.69
#CC5DA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#CC5DA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5DA7
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5DA7#FFFFFF#000000##000000
##CC5DA71.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#647AA9
Deuteranopia (green-blind)
#838CA4
Tritanopia (blue-blind)
#D75E7A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cc5da7;
/* rgb */ color: rgb(204, 93, 167);
/* oklch */ color: oklch(63.8% 0.164 342.1);
Tailwind
colors: {
  custom: {
    50: '#de8fc1',
    500: '#cc5da7',
    950: '#000000',
  },
}
SCSS
$custom: #cc5da7;
$custom-light: #de8fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5da7",
  "rgb": {
    "r": 204,
    "g": 93,
    "b": 167
  },
  "hsl": {
    "h": 320,
    "s": 52.113,
    "l": 58.235
  },
  "oklch": {
    "l": 0.63815,
    "c": 0.16447,
    "h": 342.1
  },
  "luminance": 0.23456
}

Semantic roles & 50–950 ramp

primary
#CC5DA7
secondary
#ACD9BB
accent
#DC7C4C
background
#FDF9FB
surface
#FBF1F7
border
#D4CBD0
text
#150D12
muted
#837E81

Preview Lab

Preview with #CC5DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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