#CC477F#CC477F

#CC477F is a mid, vivid pink. Relative luminance 0.189; OKLCH L 59.7% C 0.175 H 357.9°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#CC477F
RGBrgb(204, 71, 127)
HSLhsl(335, 57%, 54%)
HSVhsv(335, 65%, 80%)
CMYKcmyk(0%, 65.2%, 37.7%, 20%)
CIE-LABlab(50.55, 57.29, -2.78)
CIE-LCHlch(50.55, 57.36, 357.22°)
OKLaboklab(59.66% 0.1753 -0.0066)
OKLCHoklch(59.66% 0.175 357.9)
XYZxyz(30.9878, 18.8797, 22.0868)
Luminance0.1888 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC477F #47CC94
analogous
#CC47C2 #CC477F #CC5247
triadic
#CC477F #7FCC47 #477FCC
tetradic
#CC477F #C2CC47 #47CC94 #5247CC
square
#CC477F #C2CC47 #47CC94 #5247CC
split-complementary
#CC477F #47CC52 #47C2CC
monochromatic
#772145 #A72E61 #CC477F #D977A0 #E7A7C2

Accessibility & contrast

On white

4.40
#CC477F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#CC477F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC477F
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC477F#FFFFFF#000000##000000
##CC477F1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F6881
Deuteranopia (green-blind)
#83827C
Tritanopia (blue-blind)
#DC3A5E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cc477f;
/* rgb */ color: rgb(204, 71, 127);
/* oklch */ color: oklch(59.7% 0.175 357.9);
Tailwind
colors: {
  custom: {
    50: '#e082a4',
    500: '#cc477f',
    950: '#000000',
  },
}
SCSS
$custom: #cc477f;
$custom-light: #e082a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc477f",
  "rgb": {
    "r": 204,
    "g": 71,
    "b": 127
  },
  "hsl": {
    "h": 334.737,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59661,
    "c": 0.17537,
    "h": 357.9
  },
  "luminance": 0.18876
}

Semantic roles & 50–950 ramp

primary
#CC477F
secondary
#9BD4BC
accent
#E0A048
background
#FEF8FA
surface
#FDEFF3
border
#D5CACD
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #CC477F

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

Preview Lab → · Contrast checker → · Palette generator →

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