#CC799D#CC799D

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

Color values

HEX#CC799D
RGBrgb(204, 121, 157)
HSLhsl(334, 45%, 64%)
HSVhsv(334, 41%, 80%)
CMYKcmyk(0%, 40.7%, 23%, 20%)
CIE-LABlab(60.74, 37.02, -5.33)
CIE-LCHlch(60.74, 37.40, 351.80°)
OKLaboklab(67.6% 0.1111 -0.0136)
OKLCHoklch(67.6% 0.112 353)
XYZxyz(37.8259, 28.9491, 35.4872)
Luminance0.2895 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC799D #79CCA8
analogous
#CC79C6 #CC799D #CC7E79
triadic
#CC799D #9DCC79 #799DCC
tetradic
#CC799D #C6CC79 #79CCA8 #7E79CC
square
#CC799D #C6CC79 #79CCA8 #7E79CC
split-complementary
#CC799D #79CC7E #79C6CC
monochromatic
#93385F #BB4D7D #CC799D #DDA5BD #EED2DE

Accessibility & contrast

On white

3.09
#CC799D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#CC799D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC799D
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC799D#FFFFFF#000000##000000
##CC799D1.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#828A9E
Deuteranopia (green-blind)
#97989B
Tritanopia (blue-blind)
#D87686
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #cc799d;
/* rgb */ color: rgb(204, 121, 157);
/* oklch */ color: oklch(67.6% 0.112 353.0);
Tailwind
colors: {
  custom: {
    50: '#dda1b9',
    500: '#cc799d',
    950: '#000000',
  },
}
SCSS
$custom: #cc799d;
$custom-light: #dda1b9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc799d",
  "rgb": {
    "r": 204,
    "g": 121,
    "b": 157
  },
  "hsl": {
    "h": 333.976,
    "s": 44.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.67604,
    "c": 0.11194,
    "h": 353
  },
  "luminance": 0.28946
}

Semantic roles & 50–950 ramp

primary
#CC799D
secondary
#C2DFD2
accent
#B87C2D
background
#FDFAFB
surface
#FBF3F6
border
#D4CDD0
text
#150F11
muted
#837F80

Preview Lab

Preview with #CC799D

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

Preview Lab → · Contrast checker → · Palette generator →

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