#CC7899#CC7899

#CC7899 is a light, moderate pink. Relative luminance 0.286; OKLCH L 67.3% C 0.112 H 355.5°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#CC7899
RGBrgb(204, 120, 153)
HSLhsl(336, 45%, 64%)
HSVhsv(336, 41%, 80%)
CMYKcmyk(0%, 41.2%, 25%, 20%)
CIE-LABlab(60.40, 36.97, -3.53)
CIE-LCHlch(60.40, 37.14, 354.55°)
OKLaboklab(67.31% 0.1113 -0.0088)
OKLCHoklch(67.31% 0.112 355.5)
XYZxyz(37.3690, 28.5729, 33.6777)
Luminance0.2857 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7899 #78CCAB
analogous
#CC78C3 #CC7899 #CC8178
triadic
#CC7899 #99CC78 #7899CC
tetradic
#CC7899 #C3CC78 #78CCAB #8178CC
square
#CC7899 #C3CC78 #78CCAB #8178CC
split-complementary
#CC7899 #78CC81 #78C3CC
monochromatic
#92375B #BB4C77 #CC7899 #DDA4BB #EED1DC

Accessibility & contrast

On white

3.13
#CC7899 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#CC7899 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC7899
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7899#FFFFFF#000000##000000
##CC78991.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#82899A
Deuteranopia (green-blind)
#979797
Tritanopia (blue-blind)
#D87484
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #cc7899;
/* rgb */ color: rgb(204, 120, 153);
/* oklch */ color: oklch(67.3% 0.112 355.5);
Tailwind
colors: {
  custom: {
    50: '#dda0b7',
    500: '#cc7899',
    950: '#000000',
  },
}
SCSS
$custom: #cc7899;
$custom-light: #dda0b7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7899",
  "rgb": {
    "r": 204,
    "g": 120,
    "b": 153
  },
  "hsl": {
    "h": 336.429,
    "s": 45.161,
    "l": 63.529
  },
  "oklch": {
    "l": 0.67311,
    "c": 0.11168,
    "h": 355.5
  },
  "luminance": 0.2857
}

Semantic roles & 50–950 ramp

primary
#CC7899
secondary
#C1DFD3
accent
#B8822D
background
#FDFAFB
surface
#FBF3F6
border
#D4CDD0
text
#150F11
muted
#837F80

Preview Lab

Preview with #CC7899

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

Preview Lab → · Contrast checker → · Palette generator →

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