#CC4778#CC4778

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

Color values

HEX#CC4778
RGBrgb(204, 71, 120)
HSLhsl(338, 57%, 54%)
HSVhsv(338, 65%, 80%)
CMYKcmyk(0%, 65.2%, 41.2%, 20%)
CIE-LABlab(50.34, 56.55, 1.13)
CIE-LCHlch(50.34, 56.56, 1.15°)
OKLaboklab(59.44% 0.1729 0.0036)
OKLCHoklch(59.44% 0.173 1.2)
XYZxyz(30.5473, 18.7035, 19.7671)
Luminance0.1870 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4778 #47CC9B
analogous
#CC47BB #CC4778 #CC5947
triadic
#CC4778 #78CC47 #4778CC
tetradic
#CC4778 #BBCC47 #47CC9B #5947CC
square
#CC4778 #BBCC47 #47CC9B #5947CC
split-complementary
#CC4778 #47CC59 #47BBCC
monochromatic
#772141 #A72E5B #CC4778 #D9779B #E7A7BE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC4778#FFFFFF#000000##000000
##CC47781.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)
#616879
Deuteranopia (green-blind)
#858175
Tritanopia (blue-blind)
#DD385B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cc4778;
/* rgb */ color: rgb(204, 71, 120);
/* oklch */ color: oklch(59.4% 0.173 1.2);
Tailwind
colors: {
  custom: {
    50: '#e0829e',
    500: '#cc4778',
    950: '#000000',
  },
}
SCSS
$custom: #cc4778;
$custom-light: #e0829e;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4778",
  "rgb": {
    "r": 204,
    "g": 71,
    "b": 120
  },
  "hsl": {
    "h": 337.895,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5944,
    "c": 0.17296,
    "h": 1.2
  },
  "luminance": 0.187
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC4778

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

Preview Lab → · Contrast checker → · Palette generator →

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