#CC477B#CC477B

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

Color values

HEX#CC477B
RGBrgb(204, 71, 123)
HSLhsl(337, 57%, 54%)
HSVhsv(337, 65%, 80%)
CMYKcmyk(0%, 65.2%, 39.7%, 20%)
CIE-LABlab(50.43, 56.86, -0.55)
CIE-LCHlch(50.43, 56.86, 359.45°)
OKLaboklab(59.53% 0.1739 -0.0007)
OKLCHoklch(59.53% 0.174 359.8)
XYZxyz(30.7322, 18.7775, 20.7411)
Luminance0.1877 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC477B #47CC98
analogous
#CC47BE #CC477B #CC5647
triadic
#CC477B #7BCC47 #477BCC
tetradic
#CC477B #BECC47 #47CC98 #5647CC
square
#CC477B #BECC47 #47CC98 #5647CC
split-complementary
#CC477B #47CC56 #47BECC
monochromatic
#772143 #A72E5E #CC477B #D9779D #E7A7C0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC477B#FFFFFF#000000##000000
##CC477B1.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)
#60687C
Deuteranopia (green-blind)
#848178
Tritanopia (blue-blind)
#DC395C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cc477b;
/* rgb */ color: rgb(204, 71, 123);
/* oklch */ color: oklch(59.5% 0.174 359.8);
Tailwind
colors: {
  custom: {
    50: '#e082a1',
    500: '#cc477b',
    950: '#000000',
  },
}
SCSS
$custom: #cc477b;
$custom-light: #e082a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc477b",
  "rgb": {
    "r": 204,
    "g": 71,
    "b": 123
  },
  "hsl": {
    "h": 336.541,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59533,
    "c": 0.17394,
    "h": 359.8
  },
  "luminance": 0.18774
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC477B

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

Preview Lab → · Contrast checker → · Palette generator →

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