#CC477D#CC477D

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

Color values

HEX#CC477D
RGBrgb(204, 71, 125)
HSLhsl(336, 57%, 54%)
HSVhsv(336, 65%, 80%)
CMYKcmyk(0%, 65.2%, 38.7%, 20%)
CIE-LABlab(50.49, 57.07, -1.67)
CIE-LCHlch(50.49, 57.10, 358.33°)
OKLaboklab(59.6% 0.1746 -0.0036)
OKLCHoklch(59.6% 0.175 358.8)
XYZxyz(30.8587, 18.8281, 21.4072)
Luminance0.1883 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC477D #47CC96
analogous
#CC47C0 #CC477D #CC5447
triadic
#CC477D #7DCC47 #477DCC
tetradic
#CC477D #C0CC47 #47CC96 #5447CC
square
#CC477D #C0CC47 #47CC96 #5447CC
split-complementary
#CC477D #47CC54 #47C0CC
monochromatic
#772144 #A72E60 #CC477D #D9779F #E7A7C1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC477D#FFFFFF#000000##000000
##CC477D1.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)
#60687E
Deuteranopia (green-blind)
#84817A
Tritanopia (blue-blind)
#DC395D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cc477d;
/* rgb */ color: rgb(204, 71, 125);
/* oklch */ color: oklch(59.6% 0.175 358.8);
Tailwind
colors: {
  custom: {
    50: '#e082a2',
    500: '#cc477d',
    950: '#000000',
  },
}
SCSS
$custom: #cc477d;
$custom-light: #e082a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc477d",
  "rgb": {
    "r": 204,
    "g": 71,
    "b": 125
  },
  "hsl": {
    "h": 335.639,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59597,
    "c": 0.17464,
    "h": 358.8
  },
  "luminance": 0.18825
}

Semantic roles & 50–950 ramp

primary
#CC477D
secondary
#9BD4BD
accent
#E0A248
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0F
muted
#847C7E

Preview Lab

Preview with #CC477D

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

Preview Lab → · Contrast checker → · Palette generator →

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