#CC5C8A#CC5C8A

#CC5C8A is a light, vivid pink. Relative luminance 0.223; OKLCH L 62.6% C 0.150 H 356.5°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#CC5C8A
RGBrgb(204, 92, 138)
HSLhsl(335, 52%, 58%)
HSVhsv(335, 55%, 80%)
CMYKcmyk(0%, 54.9%, 32.4%, 20%)
CIE-LABlab(54.38, 49.20, -3.68)
CIE-LCHlch(54.38, 49.34, 355.72°)
OKLaboklab(62.62% 0.1496 -0.0091)
OKLCHoklch(62.62% 0.15 356.5)
XYZxyz(33.3180, 22.3299, 26.5952)
Luminance0.2233 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5C8A #5CCC9E
analogous
#CC5CC2 #CC5C8A #CC665C
triadic
#CC5C8A #8ACC5C #5C8ACC
tetradic
#CC5C8A #C2CC5C #5CCC9E #665CCC
square
#CC5C8A #C2CC5C #5CCC9E #665CCC
split-complementary
#CC5C8A #5CCC66 #5CC2CC
monochromatic
#84294F #B3386A #CC5C8A #DB8BAB #E9B9CD

Accessibility & contrast

On white

3.84
#CC5C8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#CC5C8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5C8A
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5C8A#FFFFFF#000000##000000
##CC5C8A1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D758B
Deuteranopia (green-blind)
#8A8A87
Tritanopia (blue-blind)
#DA556D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cc5c8a;
/* rgb */ color: rgb(204, 92, 138);
/* oklch */ color: oklch(62.6% 0.150 356.5);
Tailwind
colors: {
  custom: {
    50: '#df8eac',
    500: '#cc5c8a',
    950: '#000000',
  },
}
SCSS
$custom: #cc5c8a;
$custom-light: #df8eac;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5c8a",
  "rgb": {
    "r": 204,
    "g": 92,
    "b": 138
  },
  "hsl": {
    "h": 335.357,
    "s": 52.336,
    "l": 58.039
  },
  "oklch": {
    "l": 0.62621,
    "c": 0.14987,
    "h": 356.5
  },
  "luminance": 0.22327
}

Semantic roles & 50–950 ramp

primary
#CC5C8A
secondary
#ACD8C6
accent
#DCA14C
background
#FEF9FA
surface
#FCF1F4
border
#D5CBCE
text
#160D10
muted
#847E7F

Preview Lab

Preview with #CC5C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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