#CC77BC#CC77BC

#CC77BC is a light, vivid pink. Relative luminance 0.297; OKLCH L 68.4% C 0.137 H 334.2°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#CC77BC
RGBrgb(204, 119, 188)
HSLhsl(311, 45%, 63%)
HSVhsv(311, 42%, 80%)
CMYKcmyk(0%, 41.7%, 7.8%, 20%)
CIE-LABlab(61.36, 43.02, -22.09)
CIE-LCHlch(61.36, 48.36, 332.82°)
OKLaboklab(68.42% 0.1235 -0.0596)
OKLCHoklch(68.42% 0.137 334.2)
XYZxyz(40.5756, 29.6641, 51.1557)
Luminance0.2966 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC77BC #77CC87
analogous
#B177CC #CC77BC #CC7791
triadic
#CC77BC #BCCC77 #77BCCC
tetradic
#CC77BC #CCB177 #77CC87 #7791CC
square
#CC77BC #CCB177 #77CC87 #7791CC
split-complementary
#CC77BC #91CC77 #77CCB1
monochromatic
#923781 #BB4AA6 #CC77BC #DDA4D2 #EDD0E8

Accessibility & contrast

On white

3.03
#CC77BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#CC77BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC77BC
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC77BC#FFFFFF#000000##000000
##CC77BC1.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#778CBE
Deuteranopia (green-blind)
#8D99B9
Tritanopia (blue-blind)
#D37B91
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cc77bc;
/* rgb */ color: rgb(204, 119, 188);
/* oklch */ color: oklch(68.4% 0.137 334.2);
Tailwind
colors: {
  custom: {
    50: '#dda0d0',
    500: '#cc77bc',
    950: '#000000',
  },
}
SCSS
$custom: #cc77bc;
$custom-light: #dda0d0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc77bc",
  "rgb": {
    "r": 204,
    "g": 119,
    "b": 188
  },
  "hsl": {
    "h": 311.294,
    "s": 45.455,
    "l": 63.333
  },
  "oklch": {
    "l": 0.68422,
    "c": 0.13712,
    "h": 334.2
  },
  "luminance": 0.29662
}

Semantic roles & 50–950 ramp

primary
#CC77BC
secondary
#C0DFC6
accent
#B9472D
background
#FDFAFC
surface
#FBF3F9
border
#D4CDD2
text
#150F14
muted
#837F82

Preview Lab

Preview with #CC77BC

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

Preview Lab → · Contrast checker → · Palette generator →

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