#CC477A#CC477A

#CC477A is a mid, vivid pink. Relative luminance 0.187; OKLCH L 59.5% C 0.174 H 0.2°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#CC477A
RGBrgb(204, 71, 122)
HSLhsl(337, 57%, 54%)
HSVhsv(337, 65%, 80%)
CMYKcmyk(0%, 65.2%, 40.2%, 20%)
CIE-LABlab(50.40, 56.76, 0.01)
CIE-LCHlch(50.40, 56.76, 0.01°)
OKLaboklab(59.5% 0.1736 0.0007)
OKLCHoklch(59.5% 0.174 0.2)
XYZxyz(30.6700, 18.7526, 20.4131)
Luminance0.1875 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC477A #47CC99
analogous
#CC47BD #CC477A #CC5747
triadic
#CC477A #7ACC47 #477ACC
tetradic
#CC477A #BDCC47 #47CC99 #5747CC
square
#CC477A #BDCC47 #47CC99 #5747CC
split-complementary
#CC477A #47CC57 #47BDCC
monochromatic
#772142 #A72E5D #CC477A #D9779D #E7A7BF

Accessibility & contrast

On white

4.42
#CC477A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#CC477A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC477A
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC477A#FFFFFF#000000##000000
##CC477A1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#61687B
Deuteranopia (green-blind)
#848177
Tritanopia (blue-blind)
#DC385B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cc477a;
/* rgb */ color: rgb(204, 71, 122);
/* oklch */ color: oklch(59.5% 0.174 0.2);
Tailwind
colors: {
  custom: {
    50: '#e082a0',
    500: '#cc477a',
    950: '#000000',
  },
}
SCSS
$custom: #cc477a;
$custom-light: #e082a0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc477a",
  "rgb": {
    "r": 204,
    "g": 71,
    "b": 122
  },
  "hsl": {
    "h": 336.992,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59502,
    "c": 0.1736,
    "h": 0.2
  },
  "luminance": 0.18749
}

Semantic roles & 50–950 ramp

primary
#CC477A
secondary
#9BD4BE
accent
#E0A648
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CC477A

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

Preview Lab → · Contrast checker → · Palette generator →

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