#CC78AC#CC78AC

#CC78AC is a light, vivid pink. Relative luminance 0.292; OKLCH L 68.0% C 0.123 H 343.0°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#CC78AC
RGBrgb(204, 120, 172)
HSLhsl(323, 45%, 64%)
HSVhsv(323, 41%, 80%)
CMYKcmyk(0%, 41.2%, 15.7%, 20%)
CIE-LABlab(61.00, 39.84, -13.53)
CIE-LCHlch(61.00, 42.08, 341.25°)
OKLaboklab(67.96% 0.1175 -0.0358)
OKLCHoklch(67.96% 0.123 343)
XYZxyz(39.0651, 29.2513, 42.6102)
Luminance0.2925 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC78AC #78CC98
analogous
#C278CC #CC78AC #CC7882
triadic
#CC78AC #ACCC78 #78ACCC
tetradic
#CC78AC #CCC278 #78CC98 #7882CC
square
#CC78AC #CCC278 #78CC98 #7882CC
split-complementary
#CC78AC #82CC78 #78CCC2
monochromatic
#923770 #BB4C91 #CC78AC #DDA4C7 #EED1E3

Accessibility & contrast

On white

3.07
#CC78AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#CC78AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC78AC
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC78AC#FFFFFF#000000##000000
##CC78AC1.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc78ac;
/* rgb */ color: rgb(204, 120, 172);
/* oklch */ color: oklch(68.0% 0.123 343.0);
Tailwind
colors: {
  custom: {
    50: '#dda1c4',
    500: '#cc78ac',
    950: '#000000',
  },
}
SCSS
$custom: #cc78ac;
$custom-light: #dda1c4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc78ac",
  "rgb": {
    "r": 204,
    "g": 120,
    "b": 172
  },
  "hsl": {
    "h": 322.857,
    "s": 45.161,
    "l": 63.529
  },
  "oklch": {
    "l": 0.67963,
    "c": 0.12284,
    "h": 343
  },
  "luminance": 0.29249
}

Semantic roles & 50–950 ramp

primary
#CC78AC
secondary
#C1DFCC
accent
#B8622D
background
#FDFAFC
surface
#FBF3F8
border
#D4CDD1
text
#150F12
muted
#837F81

Preview Lab

Preview with #CC78AC

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

Preview Lab → · Contrast checker → · Palette generator →

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