#CC5EA8#CC5EA8

#CC5EA8 is a light, vivid pink. Relative luminance 0.237; OKLCH L 64.0% C 0.164 H 341.8°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#CC5EA8
RGBrgb(204, 94, 168)
HSLhsl(320, 52%, 58%)
HSVhsv(320, 54%, 80%)
CMYKcmyk(0%, 53.9%, 17.6%, 20%)
CIE-LABlab(55.76, 52.37, -19.17)
CIE-LCHlch(55.76, 55.77, 339.89°)
OKLaboklab(63.99% 0.1554 -0.0512)
OKLCHoklch(63.99% 0.164 341.8)
XYZxyz(35.9731, 23.6728, 39.7129)
Luminance0.2367 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5EA8 #5ECC82
analogous
#B95ECC #CC5EA8 #CC5E71
triadic
#CC5EA8 #A8CC5E #5EA8CC
tetradic
#CC5EA8 #CCB95E #5ECC82 #5E71CC
square
#CC5EA8 #CCB95E #5ECC82 #5E71CC
split-complementary
#CC5EA8 #71CC5E #5ECCB9
monochromatic
#852A68 #B4398C #CC5EA8 #DB8CC1 #E9BBDA

Accessibility & contrast

On white

3.66
#CC5EA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#CC5EA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5EA8
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5EA8#FFFFFF#000000##000000
##CC5EA81.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#657AAA
Deuteranopia (green-blind)
#848CA5
Tritanopia (blue-blind)
#D75F7B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cc5ea8;
/* rgb */ color: rgb(204, 94, 168);
/* oklch */ color: oklch(64.0% 0.164 341.8);
Tailwind
colors: {
  custom: {
    50: '#de90c2',
    500: '#cc5ea8',
    950: '#000000',
  },
}
SCSS
$custom: #cc5ea8;
$custom-light: #de90c2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5ea8",
  "rgb": {
    "r": 204,
    "g": 94,
    "b": 168
  },
  "hsl": {
    "h": 319.636,
    "s": 51.887,
    "l": 58.431
  },
  "oklch": {
    "l": 0.63988,
    "c": 0.16358,
    "h": 341.8
  },
  "luminance": 0.2367
}

Semantic roles & 50–950 ramp

primary
#CC5EA8
secondary
#ADD9BB
accent
#DB7B4C
background
#FDF9FB
surface
#FBF1F7
border
#D4CBD0
text
#150D12
muted
#837E81

Preview Lab

Preview with #CC5EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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