#CC4877#CC4877

#CC4877 is a mid, vivid pink. Relative luminance 0.188; OKLCH L 59.5% C 0.171 H 1.9°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#CC4877
RGBrgb(204, 72, 119)
HSLhsl(339, 56%, 54%)
HSVhsv(339, 65%, 80%)
CMYKcmyk(0%, 64.7%, 41.7%, 20%)
CIE-LABlab(50.46, 56.03, 1.91)
CIE-LCHlch(50.46, 56.07, 1.95°)
OKLaboklab(59.52% 0.1713 0.0056)
OKLCHoklch(59.52% 0.171 1.9)
XYZxyz(30.5511, 18.8076, 19.4706)
Luminance0.1880 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4877 #48CC9D
analogous
#CC48B9 #CC4877 #CC5B48
triadic
#CC4877 #77CC48 #4877CC
tetradic
#CC4877 #B9CC48 #48CC9D #5B48CC
square
#CC4877 #B9CC48 #48CC9D #5B48CC
split-complementary
#CC4877 #48CC5B #48B9CC
monochromatic
#782140 #A82F5A #CC4877 #D9789B #E7A8BE

Accessibility & contrast

On white

4.41
#CC4877 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#CC4877 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4877
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4877#FFFFFF#000000##000000
##CC48771.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#626878
Deuteranopia (green-blind)
#858274
Tritanopia (blue-blind)
#DD385B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cc4877;
/* rgb */ color: rgb(204, 72, 119);
/* oklch */ color: oklch(59.5% 0.171 1.9);
Tailwind
colors: {
  custom: {
    50: '#e0839e',
    500: '#cc4877',
    950: '#000000',
  },
}
SCSS
$custom: #cc4877;
$custom-light: #e0839e;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4877",
  "rgb": {
    "r": 204,
    "g": 72,
    "b": 119
  },
  "hsl": {
    "h": 338.636,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59521,
    "c": 0.17136,
    "h": 1.9
  },
  "luminance": 0.18804
}

Semantic roles & 50–950 ramp

primary
#CC4877
secondary
#9CD4C0
accent
#E0AA48
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CC4877

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

Preview Lab → · Contrast checker → · Palette generator →

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