#CC79AA#CC79AA

#CC79AA is a light, moderate pink. Relative luminance 0.294; OKLCH L 68.0% C 0.120 H 344.4°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#CC79AA
RGBrgb(204, 121, 170)
HSLhsl(325, 45%, 64%)
HSVhsv(325, 41%, 80%)
CMYKcmyk(0%, 40.7%, 16.7%, 20%)
CIE-LABlab(61.15, 39.00, -12.17)
CIE-LCHlch(61.15, 40.85, 342.67°)
OKLaboklab(68.05% 0.1153 -0.0321)
OKLCHoklch(68.05% 0.12 344.4)
XYZxyz(38.9953, 29.4169, 41.6465)
Luminance0.2941 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC79AA #79CC9B
analogous
#C479CC #CC79AA #CC7980
triadic
#CC79AA #AACC79 #79AACC
tetradic
#CC79AA #CCC479 #79CC9B #7980CC
square
#CC79AA #CCC479 #79CC9B #7980CC
split-complementary
#CC79AA #80CC79 #79CCC4
monochromatic
#93386E #BB4D8E #CC79AA #DDA5C6 #EED2E2

Accessibility & contrast

On white

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

On black

6.88
#CC79AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC79AA
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC79AA#FFFFFF#000000##000000
##CC79AA1.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F8BAC
Deuteranopia (green-blind)
#9499A8
Tritanopia (blue-blind)
#D6798B
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cc79aa;
/* rgb */ color: rgb(204, 121, 170);
/* oklch */ color: oklch(68.0% 0.120 344.4);
Tailwind
colors: {
  custom: {
    50: '#dda1c3',
    500: '#cc79aa',
    950: '#000000',
  },
}
SCSS
$custom: #cc79aa;
$custom-light: #dda1c3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc79aa",
  "rgb": {
    "r": 204,
    "g": 121,
    "b": 170
  },
  "hsl": {
    "h": 324.578,
    "s": 44.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.6805,
    "c": 0.11972,
    "h": 344.4
  },
  "luminance": 0.29414
}

Semantic roles & 50–950 ramp

primary
#CC79AA
secondary
#C2DFCE
accent
#B8662D
background
#FDFAFB
surface
#FBF3F7
border
#D4CDD0
text
#150F12
muted
#837F81

Preview Lab

Preview with #CC79AA

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

Preview Lab → · Contrast checker → · Palette generator →

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