#CC5C8E#CC5C8E

#CC5C8E is a light, vivid pink. Relative luminance 0.224; OKLCH L 62.8% C 0.152 H 354.4°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#CC5C8E
RGBrgb(204, 92, 142)
HSLhsl(333, 52%, 58%)
HSVhsv(333, 55%, 80%)
CMYKcmyk(0%, 54.9%, 30.4%, 20%)
CIE-LABlab(54.50, 49.71, -5.86)
CIE-LCHlch(54.50, 50.05, 353.28°)
OKLaboklab(62.76% 0.1509 -0.0148)
OKLCHoklch(62.76% 0.152 354.4)
XYZxyz(33.6129, 22.4479, 28.1486)
Luminance0.2245 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5C8E #5CCC9A
analogous
#CC5CC6 #CC5C8E #CC625C
triadic
#CC5C8E #8ECC5C #5C8ECC
tetradic
#CC5C8E #C6CC5C #5CCC9A #625CCC
square
#CC5C8E #C6CC5C #5CCC9A #625CCC
split-complementary
#CC5C8E #5CCC62 #5CC6CC
monochromatic
#842952 #B3386F #CC5C8E #DB8BAE #E9B9CF

Accessibility & contrast

On white

3.83
#CC5C8E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#CC5C8E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5C8E
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5C8E#FFFFFF#000000##000000
##CC5C8E1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7690
Deuteranopia (green-blind)
#8A8A8B
Tritanopia (blue-blind)
#DA566F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cc5c8e;
/* rgb */ color: rgb(204, 92, 142);
/* oklch */ color: oklch(62.8% 0.152 354.4);
Tailwind
colors: {
  custom: {
    50: '#df8eaf',
    500: '#cc5c8e',
    950: '#000000',
  },
}
SCSS
$custom: #cc5c8e;
$custom-light: #df8eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5c8e",
  "rgb": {
    "r": 204,
    "g": 92,
    "b": 142
  },
  "hsl": {
    "h": 333.214,
    "s": 52.336,
    "l": 58.039
  },
  "oklch": {
    "l": 0.62755,
    "c": 0.15163,
    "h": 354.4
  },
  "luminance": 0.22445
}

Semantic roles & 50–950 ramp

primary
#CC5C8E
secondary
#ACD8C4
accent
#DC9C4C
background
#FEF9FA
surface
#FCF1F4
border
#D5CBCE
text
#160D10
muted
#847E7F

Preview Lab

Preview with #CC5C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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