#CC799F#CC799F

#CC799F is a light, moderate pink. Relative luminance 0.290; OKLCH L 67.7% C 0.113 H 351.6°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#CC799F
RGBrgb(204, 121, 159)
HSLhsl(333, 45%, 64%)
HSVhsv(333, 41%, 80%)
CMYKcmyk(0%, 40.7%, 22.1%, 20%)
CIE-LABlab(60.80, 37.31, -6.39)
CIE-LCHlch(60.80, 37.86, 350.28°)
OKLaboklab(67.67% 0.1118 -0.0165)
OKLCHoklch(67.67% 0.113 351.6)
XYZxyz(37.9980, 29.0179, 36.3938)
Luminance0.2902 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC799F #79CCA6
analogous
#CC79C8 #CC799F #CC7C79
triadic
#CC799F #9FCC79 #799FCC
tetradic
#CC799F #C8CC79 #79CCA6 #7C79CC
square
#CC799F #C8CC79 #79CCA6 #7C79CC
split-complementary
#CC799F #79CC7C #79C8CC
monochromatic
#933861 #BB4D7F #CC799F #DDA5BF #EED2DF

Accessibility & contrast

On white

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

On black

6.80
#CC799F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC799F
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC799F#FFFFFF#000000##000000
##CC799F1.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#828AA0
Deuteranopia (green-blind)
#97989D
Tritanopia (blue-blind)
#D77687
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #cc799f;
/* rgb */ color: rgb(204, 121, 159);
/* oklch */ color: oklch(67.7% 0.113 351.6);
Tailwind
colors: {
  custom: {
    50: '#dda1bb',
    500: '#cc799f',
    950: '#000000',
  },
}
SCSS
$custom: #cc799f;
$custom-light: #dda1bb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc799f",
  "rgb": {
    "r": 204,
    "g": 121,
    "b": 159
  },
  "hsl": {
    "h": 332.53,
    "s": 44.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.6767,
    "c": 0.113,
    "h": 351.6
  },
  "luminance": 0.29015
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC799F

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

Preview Lab → · Contrast checker → · Palette generator →

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