#CC79A2#CC79A2

#CC79A2 is a light, moderate pink. Relative luminance 0.291; OKLCH L 67.8% C 0.115 H 349.6°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#CC79A2
RGBrgb(204, 121, 162)
HSLhsl(330, 45%, 64%)
HSVhsv(330, 41%, 80%)
CMYKcmyk(0%, 40.7%, 20.6%, 20%)
CIE-LABlab(60.89, 37.76, -7.97)
CIE-LCHlch(60.89, 38.59, 348.08°)
OKLaboklab(67.77% 0.1128 -0.0207)
OKLCHoklch(67.77% 0.115 349.6)
XYZxyz(38.2615, 29.1233, 37.7815)
Luminance0.2912 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC79A2 #79CCA3
analogous
#CC79CC #CC79A2 #CC7979
triadic
#CC79A2 #A2CC79 #79A2CC
tetradic
#CC79A2 #CCCC79 #79CCA3 #7979CC
square
#CC79A2 #CCCC79 #79CCA3 #7979CC
split-complementary
#CC79A2 #79CC79 #79CCCC
monochromatic
#933865 #BB4D83 #CC79A2 #DDA5C1 #EED2E0

Accessibility & contrast

On white

3.08
#CC79A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#CC79A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC79A2
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC79A2#FFFFFF#000000##000000
##CC79A21.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#818AA3
Deuteranopia (green-blind)
#9698A0
Tritanopia (blue-blind)
#D77788
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #cc79a2;
/* rgb */ color: rgb(204, 121, 162);
/* oklch */ color: oklch(67.8% 0.115 349.6);
Tailwind
colors: {
  custom: {
    50: '#dda1bd',
    500: '#cc79a2',
    950: '#000000',
  },
}
SCSS
$custom: #cc79a2;
$custom-light: #dda1bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc79a2",
  "rgb": {
    "r": 204,
    "g": 121,
    "b": 162
  },
  "hsl": {
    "h": 330.361,
    "s": 44.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.67771,
    "c": 0.11467,
    "h": 349.6
  },
  "luminance": 0.29121
}

Semantic roles & 50–950 ramp

primary
#CC79A2
secondary
#C2DFD1
accent
#B8742D
background
#FDFAFB
surface
#FBF3F6
border
#D4CDD0
text
#150F12
muted
#837F81

Preview Lab

Preview with #CC79A2

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

Preview Lab → · Contrast checker → · Palette generator →

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