#CC799B#CC799B

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

Color values

HEX#CC799B
RGBrgb(204, 121, 155)
HSLhsl(335, 45%, 64%)
HSVhsv(335, 41%, 80%)
CMYKcmyk(0%, 40.7%, 24%, 20%)
CIE-LABlab(60.68, 36.73, -4.27)
CIE-LCHlch(60.68, 36.97, 353.36°)
OKLaboklab(67.54% 0.1104 -0.0108)
OKLCHoklch(67.54% 0.111 354.4)
XYZxyz(37.6565, 28.8813, 34.5953)
Luminance0.2888 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC799B #79CCAA
analogous
#CC79C4 #CC799B #CC8079
triadic
#CC799B #9BCC79 #799BCC
tetradic
#CC799B #C4CC79 #79CCAA #8079CC
square
#CC799B #C4CC79 #79CCAA #8079CC
split-complementary
#CC799B #79CC80 #79C4CC
monochromatic
#93385D #BB4D7A #CC799B #DDA5BC #EED2DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC799B#FFFFFF#000000##000000
##CC799B1.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)
#83899C
Deuteranopia (green-blind)
#979899
Tritanopia (blue-blind)
#D87585
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #cc799b;
/* rgb */ color: rgb(204, 121, 155);
/* oklch */ color: oklch(67.5% 0.111 354.4);
Tailwind
colors: {
  custom: {
    50: '#dda1b8',
    500: '#cc799b',
    950: '#000000',
  },
}
SCSS
$custom: #cc799b;
$custom-light: #dda1b8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc799b",
  "rgb": {
    "r": 204,
    "g": 121,
    "b": 155
  },
  "hsl": {
    "h": 335.422,
    "s": 44.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.67538,
    "c": 0.11096,
    "h": 354.4
  },
  "luminance": 0.28879
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC799B

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

Preview Lab → · Contrast checker → · Palette generator →

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