#CC477C#CC477C

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

Color values

HEX#CC477C
RGBrgb(204, 71, 124)
HSLhsl(336, 57%, 54%)
HSVhsv(336, 65%, 80%)
CMYKcmyk(0%, 65.2%, 39.2%, 20%)
CIE-LABlab(50.46, 56.97, -1.11)
CIE-LCHlch(50.46, 56.98, 358.89°)
OKLaboklab(59.57% 0.1743 -0.0022)
OKLCHoklch(59.57% 0.174 359.3)
XYZxyz(30.7952, 18.8027, 21.0724)
Luminance0.1880 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC477C #47CC97
analogous
#CC47BF #CC477C #CC5547
triadic
#CC477C #7CCC47 #477CCC
tetradic
#CC477C #BFCC47 #47CC97 #5547CC
square
#CC477C #BFCC47 #47CC97 #5547CC
split-complementary
#CC477C #47CC55 #47BFCC
monochromatic
#772144 #A72E5F #CC477C #D9779E #E7A7C0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC477C#FFFFFF#000000##000000
##CC477C1.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)
#60687D
Deuteranopia (green-blind)
#848179
Tritanopia (blue-blind)
#DC395C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cc477c;
/* rgb */ color: rgb(204, 71, 124);
/* oklch */ color: oklch(59.6% 0.174 359.3);
Tailwind
colors: {
  custom: {
    50: '#e082a1',
    500: '#cc477c',
    950: '#000000',
  },
}
SCSS
$custom: #cc477c;
$custom-light: #e082a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc477c",
  "rgb": {
    "r": 204,
    "g": 71,
    "b": 124
  },
  "hsl": {
    "h": 336.09,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59565,
    "c": 0.17428,
    "h": 359.3
  },
  "luminance": 0.18799
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC477C

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

Preview Lab → · Contrast checker → · Palette generator →

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