#CC377C#CC377C

#CC377C is a mid, vivid pink. Relative luminance 0.170; OKLCH L 58.0% C 0.194 H 356.9°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#CC377C
RGBrgb(204, 55, 124)
HSLhsl(332, 59%, 51%)
HSVhsv(332, 73%, 80%)
CMYKcmyk(0%, 73%, 39.2%, 20%)
CIE-LABlab(48.30, 62.95, -4.29)
CIE-LCHlch(48.30, 63.09, 356.10°)
OKLaboklab(57.97% 0.1932 -0.0105)
OKLCHoklch(57.97% 0.194 356.9)
XYZxyz(29.9082, 17.0287, 20.7768)
Luminance0.1703 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC377C #37CC87
analogous
#CC37C6 #CC377C #CC3C37
triadic
#CC377C #7CCC37 #377CCC
tetradic
#CC377C #C6CC37 #37CC87 #3C37CC
square
#CC377C #C6CC37 #37CC87 #3C37CC
split-complementary
#CC377C #37CC3C #37C6CC
monochromatic
#6D1C41 #9E285F #CC377C #D8689C #E599BC

Accessibility & contrast

On white

4.77
#CC377C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#CC377C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC377C
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC377C#FFFFFF#000000##FFFFFF
##CC377C1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55617E
Deuteranopia (green-blind)
#7E7D79
Tritanopia (blue-blind)
#DC2455
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cc377c;
/* rgb */ color: rgb(204, 55, 124);
/* oklch */ color: oklch(58.0% 0.194 356.9);
Tailwind
colors: {
  custom: {
    50: '#e17aa1',
    500: '#cc377c',
    950: '#000000',
  },
}
SCSS
$custom: #cc377c;
$custom-light: #e17aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc377c",
  "rgb": {
    "r": 204,
    "g": 55,
    "b": 124
  },
  "hsl": {
    "h": 332.215,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57972,
    "c": 0.1935,
    "h": 356.9
  },
  "luminance": 0.17025
}

Semantic roles & 50–950 ramp

primary
#CC377C
secondary
#8ED0B2
accent
#E39A45
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0F
muted
#847C7E

Preview Lab

Preview with #CC377C

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

Preview Lab → · Contrast checker → · Palette generator →

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