#CC4777#CC4777

#CC4777 is a mid, vivid pink. Relative luminance 0.187; OKLCH L 59.4% C 0.173 H 1.7°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#CC4777
RGBrgb(204, 71, 119)
HSLhsl(338, 57%, 54%)
HSVhsv(338, 65%, 80%)
CMYKcmyk(0%, 65.2%, 41.7%, 20%)
CIE-LABlab(50.31, 56.45, 1.69)
CIE-LCHlch(50.31, 56.47, 1.72°)
OKLaboklab(59.41% 0.1726 0.005)
OKLCHoklch(59.41% 0.173 1.7)
XYZxyz(30.4870, 18.6794, 19.4492)
Luminance0.1868 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4777 #47CC9C
analogous
#CC47BA #CC4777 #CC5A47
triadic
#CC4777 #77CC47 #4777CC
tetradic
#CC4777 #BACC47 #47CC9C #5A47CC
square
#CC4777 #BACC47 #47CC9C #5A47CC
split-complementary
#CC4777 #47CC5A #47BACC
monochromatic
#772140 #A72E5A #CC4777 #D9779A #E7A7BE

Accessibility & contrast

On white

4.43
#CC4777 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#CC4777 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4777
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4777#FFFFFF#000000##000000
##CC47771.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#616778
Deuteranopia (green-blind)
#858174
Tritanopia (blue-blind)
#DD375A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cc4777;
/* rgb */ color: rgb(204, 71, 119);
/* oklch */ color: oklch(59.4% 0.173 1.7);
Tailwind
colors: {
  custom: {
    50: '#e0829e',
    500: '#cc4777',
    950: '#000000',
  },
}
SCSS
$custom: #cc4777;
$custom-light: #e0829e;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4777",
  "rgb": {
    "r": 204,
    "g": 71,
    "b": 119
  },
  "hsl": {
    "h": 338.346,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59409,
    "c": 0.17265,
    "h": 1.7
  },
  "luminance": 0.18676
}

Semantic roles & 50–950 ramp

primary
#CC4777
secondary
#9BD4BF
accent
#E0A948
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CC4777

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

Preview Lab → · Contrast checker → · Palette generator →

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