#CC77AC#CC77AC

#CC77AC is a light, vivid pink. Relative luminance 0.290; OKLCH L 67.8% C 0.125 H 342.9°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#CC77AC
RGBrgb(204, 119, 172)
HSLhsl(323, 45%, 63%)
HSVhsv(323, 42%, 80%)
CMYKcmyk(0%, 41.7%, 15.7%, 20%)
CIE-LABlab(60.79, 40.37, -13.84)
CIE-LCHlch(60.79, 42.68, 341.07°)
OKLaboklab(67.8% 0.1191 -0.0367)
OKLCHoklch(67.8% 0.125 342.9)
XYZxyz(38.9454, 29.0121, 42.5703)
Luminance0.2901 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC77AC #77CC97
analogous
#C177CC #CC77AC #CC7781
triadic
#CC77AC #ACCC77 #77ACCC
tetradic
#CC77AC #CCC177 #77CC97 #7781CC
square
#CC77AC #CCC177 #77CC97 #7781CC
split-complementary
#CC77AC #81CC77 #77CCC1
monochromatic
#923770 #BB4A91 #CC77AC #DDA4C7 #EDD0E2

Accessibility & contrast

On white

3.09
#CC77AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#CC77AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC77AC
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC77AC#FFFFFF#000000##000000
##CC77AC1.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C8AAE
Deuteranopia (green-blind)
#9298AA
Tritanopia (blue-blind)
#D6778A
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #cc77ac;
/* rgb */ color: rgb(204, 119, 172);
/* oklch */ color: oklch(67.8% 0.125 342.9);
Tailwind
colors: {
  custom: {
    50: '#dda0c4',
    500: '#cc77ac',
    950: '#000000',
  },
}
SCSS
$custom: #cc77ac;
$custom-light: #dda0c4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc77ac",
  "rgb": {
    "r": 204,
    "g": 119,
    "b": 172
  },
  "hsl": {
    "h": 322.588,
    "s": 45.455,
    "l": 63.333
  },
  "oklch": {
    "l": 0.67804,
    "c": 0.12458,
    "h": 342.9
  },
  "luminance": 0.2901
}

Semantic roles & 50–950 ramp

primary
#CC77AC
secondary
#C0DFCC
accent
#B9612D
background
#FDFAFC
surface
#FBF3F8
border
#D4CDD1
text
#150F12
muted
#837F81

Preview Lab

Preview with #CC77AC

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

Preview Lab → · Contrast checker → · Palette generator →

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