#CC79AC#CC79AC

#CC79AC is a light, vivid pink. Relative luminance 0.295; OKLCH L 68.1% C 0.121 H 343.2°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#CC79AC
RGBrgb(204, 121, 172)
HSLhsl(323, 45%, 64%)
HSVhsv(323, 41%, 80%)
CMYKcmyk(0%, 40.7%, 15.7%, 20%)
CIE-LABlab(61.21, 39.31, -13.21)
CIE-LCHlch(61.21, 41.47, 341.43°)
OKLaboklab(68.12% 0.116 -0.035)
OKLCHoklch(68.12% 0.121 343.2)
XYZxyz(39.1860, 29.4931, 42.6505)
Luminance0.2949 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC79AC #79CC99
analogous
#C279CC #CC79AC #CC7982
triadic
#CC79AC #ACCC79 #79ACCC
tetradic
#CC79AC #CCC279 #79CC99 #7982CC
square
#CC79AC #CCC279 #79CC99 #7982CC
split-complementary
#CC79AC #82CC79 #79CCC2
monochromatic
#933870 #BB4D91 #CC79AC #DDA5C7 #EED2E3

Accessibility & contrast

On white

3.04
#CC79AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#CC79AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC79AC
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC79AC#FFFFFF#000000##000000
##CC79AC1.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E8CAE
Deuteranopia (green-blind)
#9399AA
Tritanopia (blue-blind)
#D6798C
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cc79ac;
/* rgb */ color: rgb(204, 121, 172);
/* oklch */ color: oklch(68.1% 0.121 343.2);
Tailwind
colors: {
  custom: {
    50: '#dda1c4',
    500: '#cc79ac',
    950: '#000000',
  },
}
SCSS
$custom: #cc79ac;
$custom-light: #dda1c4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc79ac",
  "rgb": {
    "r": 204,
    "g": 121,
    "b": 172
  },
  "hsl": {
    "h": 323.133,
    "s": 44.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.68123,
    "c": 0.12111,
    "h": 343.2
  },
  "luminance": 0.29491
}

Semantic roles & 50–950 ramp

primary
#CC79AC
secondary
#C2DFCD
accent
#B8632D
background
#FDFAFC
surface
#FBF3F8
border
#D4CDD1
text
#150F12
muted
#837F81

Preview Lab

Preview with #CC79AC

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

Preview Lab → · Contrast checker → · Palette generator →

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