#CC4780#CC4780

#CC4780 is a mid, vivid pink. Relative luminance 0.189; OKLCH L 59.7% C 0.176 H 357.4°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#CC4780
RGBrgb(204, 71, 128)
HSLhsl(334, 57%, 54%)
HSVhsv(334, 65%, 80%)
CMYKcmyk(0%, 65.2%, 37.3%, 20%)
CIE-LABlab(50.58, 57.40, -3.33)
CIE-LCHlch(50.58, 57.50, 356.68°)
OKLaboklab(59.69% 0.1756 -0.008)
OKLCHoklch(59.69% 0.176 357.4)
XYZxyz(31.0533, 18.9059, 22.4318)
Luminance0.1890 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4780 #47CC93
analogous
#CC47C3 #CC4780 #CC5147
triadic
#CC4780 #80CC47 #4780CC
tetradic
#CC4780 #C3CC47 #47CC93 #5147CC
square
#CC4780 #C3CC47 #47CC93 #5147CC
split-complementary
#CC4780 #47CC51 #47C3CC
monochromatic
#772146 #A72E62 #CC4780 #D977A1 #E7A7C2

Accessibility & contrast

On white

4.39
#CC4780 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#CC4780 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4780
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4780#FFFFFF#000000##000000
##CC47801.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F6982
Deuteranopia (green-blind)
#83827D
Tritanopia (blue-blind)
#DC3B5E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cc4780;
/* rgb */ color: rgb(204, 71, 128);
/* oklch */ color: oklch(59.7% 0.176 357.4);
Tailwind
colors: {
  custom: {
    50: '#e082a4',
    500: '#cc4780',
    950: '#000000',
  },
}
SCSS
$custom: #cc4780;
$custom-light: #e082a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4780",
  "rgb": {
    "r": 204,
    "g": 71,
    "b": 128
  },
  "hsl": {
    "h": 334.286,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59694,
    "c": 0.17575,
    "h": 357.4
  },
  "luminance": 0.18902
}

Semantic roles & 50–950 ramp

primary
#CC4780
secondary
#9BD4BB
accent
#E09F48
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #CC4780

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

Preview Lab → · Contrast checker → · Palette generator →

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