#CC377E#CC377E

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

Color values

HEX#CC377E
RGBrgb(204, 55, 126)
HSLhsl(331, 59%, 51%)
HSVhsv(331, 73%, 80%)
CMYKcmyk(0%, 73%, 38.2%, 20%)
CIE-LABlab(48.36, 63.15, -5.41)
CIE-LCHlch(48.36, 63.38, 355.11°)
OKLaboklab(58.04% 0.1938 -0.0134)
OKLCHoklch(58.04% 0.194 356)
XYZxyz(30.0359, 17.0798, 21.4496)
Luminance0.1708 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC377E #37CC85
analogous
#CC37C9 #CC377E #CC3A37
triadic
#CC377E #7ECC37 #377ECC
tetradic
#CC377E #C9CC37 #37CC85 #3A37CC
square
#CC377E #C9CC37 #37CC85 #3A37CC
split-complementary
#CC377E #37CC3A #37C9CC
monochromatic
#6D1C42 #9E2860 #CC377E #D8689D #E599BD

Accessibility & contrast

On white

4.76
#CC377E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#CC377E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC377E
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC377E#FFFFFF#000000##FFFFFF
##CC377E1.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546180
Deuteranopia (green-blind)
#7E7D7B
Tritanopia (blue-blind)
#DC2656
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cc377e;
/* rgb */ color: rgb(204, 55, 126);
/* oklch */ color: oklch(58.0% 0.194 356.0);
Tailwind
colors: {
  custom: {
    50: '#e17aa3',
    500: '#cc377e',
    950: '#000000',
  },
}
SCSS
$custom: #cc377e;
$custom-light: #e17aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc377e",
  "rgb": {
    "r": 204,
    "g": 55,
    "b": 126
  },
  "hsl": {
    "h": 331.409,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.5804,
    "c": 0.19428,
    "h": 356
  },
  "luminance": 0.17076
}

Semantic roles & 50–950 ramp

primary
#CC377E
secondary
#8ED0B1
accent
#E39845
background
#FEF7FA
surface
#FDEEF3
border
#D5C9CD
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #CC377E

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

Preview Lab → · Contrast checker → · Palette generator →

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