#CC4077#CC4077

#CC4077 is a mid, vivid pink. Relative luminance 0.178; OKLCH L 58.7% C 0.181 H 0.4°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#CC4077
RGBrgb(204, 64, 119)
HSLhsl(336, 58%, 53%)
HSVhsv(336, 69%, 80%)
CMYKcmyk(0%, 68.6%, 41.7%, 20%)
CIE-LABlab(49.30, 59.22, 0.22)
CIE-LCHlch(49.30, 59.22, 0.22°)
OKLaboklab(58.66% 0.1814 0.0013)
OKLCHoklch(58.66% 0.181 0.4)
XYZxyz(30.0671, 17.8398, 19.3093)
Luminance0.1784 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4077 #40CC95
analogous
#CC40BD #CC4077 #CC4F40
triadic
#CC4077 #77CC40 #4077CC
tetradic
#CC4077 #BDCC40 #40CC95 #4F40CC
square
#CC4077 #BDCC40 #40CC95 #4F40CC
split-complementary
#CC4077 #40CC4F #40BDCC
monochromatic
#731F40 #A32C5B #CC4077 #D97099 #E6A1BC

Accessibility & contrast

On white

4.60
#CC4077 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#CC4077 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CC4077
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4077#FFFFFF#000000##FFFFFF
##CC40771.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6478
Deuteranopia (green-blind)
#827F74
Tritanopia (blue-blind)
#DD2E57
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cc4077;
/* rgb */ color: rgb(204, 64, 119);
/* oklch */ color: oklch(58.7% 0.181 0.4);
Tailwind
colors: {
  custom: {
    50: '#e17e9e',
    500: '#cc4077',
    950: '#000000',
  },
}
SCSS
$custom: #cc4077;
$custom-light: #e17e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4077",
  "rgb": {
    "r": 204,
    "g": 64,
    "b": 119
  },
  "hsl": {
    "h": 336.429,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58662,
    "c": 0.18136,
    "h": 0.4
  },
  "luminance": 0.17836
}

Semantic roles & 50–950 ramp

primary
#CC4077
secondary
#95D2BA
accent
#E1A447
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CC4077

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

Preview Lab → · Contrast checker → · Palette generator →

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