#CC79AB#CC79AB

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

Color values

HEX#CC79AB
RGBrgb(204, 121, 171)
HSLhsl(324, 45%, 64%)
HSVhsv(324, 41%, 80%)
CMYKcmyk(0%, 40.7%, 16.2%, 20%)
CIE-LABlab(61.18, 39.16, -12.69)
CIE-LCHlch(61.18, 41.16, 342.05°)
OKLaboklab(68.09% 0.1156 -0.0335)
OKLCHoklch(68.09% 0.12 343.8)
XYZxyz(39.0903, 29.4549, 42.1466)
Luminance0.2945 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC79AB #79CC9A
analogous
#C379CC #CC79AB #CC7981
triadic
#CC79AB #ABCC79 #79ABCC
tetradic
#CC79AB #CCC379 #79CC9A #7981CC
square
#CC79AB #CCC379 #79CC9A #7981CC
split-complementary
#CC79AB #81CC79 #79CCC3
monochromatic
#93386F #BB4D8F #CC79AB #DDA5C7 #EED2E3

Accessibility & contrast

On white

3.05
#CC79AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#CC79AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC79AB
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC79AB#FFFFFF#000000##000000
##CC79AB1.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E8BAD
Deuteranopia (green-blind)
#9399A9
Tritanopia (blue-blind)
#D6798B
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cc79ab;
/* rgb */ color: rgb(204, 121, 171);
/* oklch */ color: oklch(68.1% 0.120 343.8);
Tailwind
colors: {
  custom: {
    50: '#dda1c4',
    500: '#cc79ab',
    950: '#000000',
  },
}
SCSS
$custom: #cc79ab;
$custom-light: #dda1c4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc79ab",
  "rgb": {
    "r": 204,
    "g": 121,
    "b": 171
  },
  "hsl": {
    "h": 323.855,
    "s": 44.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.68086,
    "c": 0.12041,
    "h": 343.8
  },
  "luminance": 0.29452
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC79AB

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

Preview Lab → · Contrast checker → · Palette generator →

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