#CC79B2#CC79B2

#CC79B2 is a light, vivid pink. Relative luminance 0.297; OKLCH L 68.3% C 0.126 H 339.7°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#CC79B2
RGBrgb(204, 121, 178)
HSLhsl(319, 45%, 64%)
HSVhsv(319, 41%, 80%)
CMYKcmyk(0%, 40.7%, 12.7%, 20%)
CIE-LABlab(61.42, 40.29, -16.32)
CIE-LCHlch(61.42, 43.47, 337.95°)
OKLaboklab(68.35% 0.1177 -0.0435)
OKLCHoklch(68.35% 0.126 339.7)
XYZxyz(39.7753, 29.7288, 45.7541)
Luminance0.2973 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC79B2 #79CC93
analogous
#BC79CC #CC79B2 #CC7988
triadic
#CC79B2 #B2CC79 #79B2CC
tetradic
#CC79B2 #CCBC79 #79CC93 #7988CC
square
#CC79B2 #CCBC79 #79CC93 #7988CC
split-complementary
#CC79B2 #88CC79 #79CCBC
monochromatic
#933876 #BB4D99 #CC79B2 #DDA5CB #EED2E5

Accessibility & contrast

On white

3.02
#CC79B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#CC79B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC79B2
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC79B2#FFFFFF#000000##000000
##CC79B21.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C8CB4
Deuteranopia (green-blind)
#9199B0
Tritanopia (blue-blind)
#D57A8E
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cc79b2;
/* rgb */ color: rgb(204, 121, 178);
/* oklch */ color: oklch(68.3% 0.126 339.7);
Tailwind
colors: {
  custom: {
    50: '#dda1c9',
    500: '#cc79b2',
    950: '#000000',
  },
}
SCSS
$custom: #cc79b2;
$custom-light: #dda1c9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc79b2",
  "rgb": {
    "r": 204,
    "g": 121,
    "b": 178
  },
  "hsl": {
    "h": 318.795,
    "s": 44.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.68345,
    "c": 0.12551,
    "h": 339.7
  },
  "luminance": 0.29726
}

Semantic roles & 50–950 ramp

primary
#CC79B2
secondary
#C2DFCB
accent
#B8592D
background
#FDFAFC
surface
#FBF3F8
border
#D4CDD1
text
#150F13
muted
#837F82

Preview Lab

Preview with #CC79B2

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

Preview Lab → · Contrast checker → · Palette generator →

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