#CC377F#CC377F

#CC377F is a mid, vivid pink. Relative luminance 0.171; OKLCH L 58.1% C 0.195 H 355.6°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#CC377F
RGBrgb(204, 55, 127)
HSLhsl(331, 59%, 51%)
HSVhsv(331, 73%, 80%)
CMYKcmyk(0%, 73%, 37.7%, 20%)
CIE-LABlab(48.39, 63.26, -5.96)
CIE-LCHlch(48.39, 63.54, 354.61°)
OKLaboklab(58.07% 0.1941 -0.0149)
OKLCHoklch(58.07% 0.195 355.6)
XYZxyz(30.1008, 17.1057, 21.7912)
Luminance0.1710 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC377F #37CC84
analogous
#CC37C9 #CC377F #CC3937
triadic
#CC377F #7FCC37 #377FCC
tetradic
#CC377F #C9CC37 #37CC84 #3937CC
square
#CC377F #C9CC37 #37CC84 #3937CC
split-complementary
#CC377F #37CC39 #37C9CC
monochromatic
#6D1C43 #9E2861 #CC377F #D8689E #E599BD

Accessibility & contrast

On white

4.75
#CC377F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #CC377F
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC377F#FFFFFF#000000##FFFFFF
##CC377F1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc377f;
/* rgb */ color: rgb(204, 55, 127);
/* oklch */ color: oklch(58.1% 0.195 355.6);
Tailwind
colors: {
  custom: {
    50: '#e17aa4',
    500: '#cc377f',
    950: '#000000',
  },
}
SCSS
$custom: #cc377f;
$custom-light: #e17aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc377f",
  "rgb": {
    "r": 204,
    "g": 55,
    "b": 127
  },
  "hsl": {
    "h": 331.007,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58074,
    "c": 0.19469,
    "h": 355.6
  },
  "luminance": 0.17102
}

Semantic roles & 50–950 ramp

primary
#CC377F
secondary
#8ED0B1
accent
#E39745
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #CC377F

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

Preview Lab → · Contrast checker → · Palette generator →

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