#CC56AC#CC56AC

#CC56AC is a light, vivid pink. Relative luminance 0.225; OKLCH L 63.1% C 0.179 H 339.4°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#CC56AC
RGBrgb(204, 86, 172)
HSLhsl(316, 54%, 57%)
HSVhsv(316, 58%, 80%)
CMYKcmyk(0%, 57.8%, 15.7%, 20%)
CIE-LABlab(54.53, 56.68, -23.39)
CIE-LCHlch(54.53, 61.32, 337.58°)
OKLaboklab(63.13% 0.1673 -0.0629)
OKLCHoklch(63.13% 0.179 339.4)
XYZxyz(35.6766, 22.4744, 41.4807)
Luminance0.2247 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC56AC #56CC76
analogous
#B156CC #CC56AC #CC5671
triadic
#CC56AC #ACCC56 #56ACCC
tetradic
#CC56AC #CCB156 #56CC76 #5671CC
square
#CC56AC #CCB156 #56CC76 #5671CC
split-complementary
#CC56AC #71CC56 #56CCB1
monochromatic
#812768 #B0358E #CC56AC #DA85C3 #E8B4DA

Accessibility & contrast

On white

3.82
#CC56AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC56AC#FFFFFF#000000##000000
##CC56AC1.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B77AF
Deuteranopia (green-blind)
#7E89A9
Tritanopia (blue-blind)
#D75979
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cc56ac;
/* rgb */ color: rgb(204, 86, 172);
/* oklch */ color: oklch(63.1% 0.179 339.4);
Tailwind
colors: {
  custom: {
    50: '#de8bc5',
    500: '#cc56ac',
    950: '#000000',
  },
}
SCSS
$custom: #cc56ac;
$custom-light: #de8bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc56ac",
  "rgb": {
    "r": 204,
    "g": 86,
    "b": 172
  },
  "hsl": {
    "h": 316.271,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.63128,
    "c": 0.17878,
    "h": 339.4
  },
  "luminance": 0.22472
}

Semantic roles & 50–950 ramp

primary
#CC56AC
secondary
#A7D7B4
accent
#DD724B
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C12
muted
#847D81

Preview Lab

Preview with #CC56AC

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

Preview Lab → · Contrast checker → · Palette generator →

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