#CC799C#CC799C

#CC799C is a light, moderate pink. Relative luminance 0.289; OKLCH L 67.6% C 0.111 H 353.7°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#CC799C
RGBrgb(204, 121, 156)
HSLhsl(335, 45%, 64%)
HSVhsv(335, 41%, 80%)
CMYKcmyk(0%, 40.7%, 23.5%, 20%)
CIE-LABlab(60.71, 36.87, -4.80)
CIE-LCHlch(60.71, 37.18, 352.58°)
OKLaboklab(67.57% 0.1108 -0.0122)
OKLCHoklch(67.57% 0.111 353.7)
XYZxyz(37.7408, 28.9151, 35.0394)
Luminance0.2891 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC799C #79CCA9
analogous
#CC79C5 #CC799C #CC7F79
triadic
#CC799C #9CCC79 #799CCC
tetradic
#CC799C #C5CC79 #79CCA9 #7F79CC
square
#CC799C #C5CC79 #79CCA9 #7F79CC
split-complementary
#CC799C #79CC7F #79C5CC
monochromatic
#93385E #BB4D7B #CC799C #DDA5BD #EED2DD

Accessibility & contrast

On white

3.10
#CC799C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#CC799C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC799C
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC799C#FFFFFF#000000##000000
##CC799C1.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#838A9D
Deuteranopia (green-blind)
#97989A
Tritanopia (blue-blind)
#D87685
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #cc799c;
/* rgb */ color: rgb(204, 121, 156);
/* oklch */ color: oklch(67.6% 0.111 353.7);
Tailwind
colors: {
  custom: {
    50: '#dda1b9',
    500: '#cc799c',
    950: '#000000',
  },
}
SCSS
$custom: #cc799c;
$custom-light: #dda1b9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc799c",
  "rgb": {
    "r": 204,
    "g": 121,
    "b": 156
  },
  "hsl": {
    "h": 334.699,
    "s": 44.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.67571,
    "c": 0.11144,
    "h": 353.7
  },
  "luminance": 0.28912
}

Semantic roles & 50–950 ramp

primary
#CC799C
secondary
#C2DFD3
accent
#B87E2D
background
#FDFAFB
surface
#FBF3F6
border
#D4CDD0
text
#150F11
muted
#837F80

Preview Lab

Preview with #CC799C

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

Preview Lab → · Contrast checker → · Palette generator →

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