#CC799E#CC799E

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

Color values

HEX#CC799E
RGBrgb(204, 121, 158)
HSLhsl(333, 45%, 64%)
HSVhsv(333, 41%, 80%)
CMYKcmyk(0%, 40.7%, 22.5%, 20%)
CIE-LABlab(60.77, 37.16, -5.86)
CIE-LCHlch(60.77, 37.62, 351.04°)
OKLaboklab(67.64% 0.1115 -0.015)
OKLCHoklch(67.64% 0.112 352.3)
XYZxyz(37.9116, 28.9834, 35.9387)
Luminance0.2898 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC799E #79CCA7
analogous
#CC79C7 #CC799E #CC7D79
triadic
#CC799E #9ECC79 #799ECC
tetradic
#CC799E #C7CC79 #79CCA7 #7D79CC
square
#CC799E #C7CC79 #79CCA7 #7D79CC
split-complementary
#CC799E #79CC7D #79C7CC
monochromatic
#933860 #BB4D7E #CC799E #DDA5BE #EED2DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC799E#FFFFFF#000000##000000
##CC799E1.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)
#828A9F
Deuteranopia (green-blind)
#97989C
Tritanopia (blue-blind)
#D77686
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #cc799e;
/* rgb */ color: rgb(204, 121, 158);
/* oklch */ color: oklch(67.6% 0.112 352.3);
Tailwind
colors: {
  custom: {
    50: '#dda1ba',
    500: '#cc799e',
    950: '#000000',
  },
}
SCSS
$custom: #cc799e;
$custom-light: #dda1ba;
$custom-dark: #000000;
JSON
{
  "hex": "#cc799e",
  "rgb": {
    "r": 204,
    "g": 121,
    "b": 158
  },
  "hsl": {
    "h": 333.253,
    "s": 44.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.67636,
    "c": 0.11246,
    "h": 352.3
  },
  "luminance": 0.28981
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC799E

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

Preview Lab → · Contrast checker → · Palette generator →

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