#CC477E#CC477E

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

Color values

HEX#CC477E
RGBrgb(204, 71, 126)
HSLhsl(335, 57%, 54%)
HSVhsv(335, 65%, 80%)
CMYKcmyk(0%, 65.2%, 38.2%, 20%)
CIE-LABlab(50.52, 57.18, -2.22)
CIE-LCHlch(50.52, 57.23, 357.77°)
OKLaboklab(59.63% 0.1749 -0.0051)
OKLCHoklch(59.63% 0.175 358.3)
XYZxyz(30.9229, 18.8538, 21.7453)
Luminance0.1885 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC477E #47CC95
analogous
#CC47C1 #CC477E #CC5347
triadic
#CC477E #7ECC47 #477ECC
tetradic
#CC477E #C1CC47 #47CC95 #5347CC
square
#CC477E #C1CC47 #47CC95 #5347CC
split-complementary
#CC477E #47CC53 #47C1CC
monochromatic
#772145 #A72E60 #CC477E #D977A0 #E7A7C1

Accessibility & contrast

On white

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

On black

4.77
#CC477E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC477E
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC477E#FFFFFF#000000##000000
##CC477E1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F6880
Deuteranopia (green-blind)
#83827B
Tritanopia (blue-blind)
#DC3A5D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cc477e;
/* rgb */ color: rgb(204, 71, 126);
/* oklch */ color: oklch(59.6% 0.175 358.3);
Tailwind
colors: {
  custom: {
    50: '#e082a3',
    500: '#cc477e',
    950: '#000000',
  },
}
SCSS
$custom: #cc477e;
$custom-light: #e082a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc477e",
  "rgb": {
    "r": 204,
    "g": 71,
    "b": 126
  },
  "hsl": {
    "h": 335.188,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59629,
    "c": 0.175,
    "h": 358.3
  },
  "luminance": 0.1885
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC477E

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

Preview Lab → · Contrast checker → · Palette generator →

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