#CC377B#CC377B

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

Color values

HEX#CC377B
RGBrgb(204, 55, 123)
HSLhsl(333, 59%, 51%)
HSVhsv(333, 73%, 80%)
CMYKcmyk(0%, 73%, 39.7%, 20%)
CIE-LABlab(48.26, 62.84, -3.73)
CIE-LCHlch(48.26, 62.95, 356.61°)
OKLaboklab(57.94% 0.1929 -0.009)
OKLCHoklch(57.94% 0.193 357.3)
XYZxyz(29.8453, 17.0035, 20.4454)
Luminance0.1700 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC377B #37CC88
analogous
#CC37C6 #CC377B #CC3D37
triadic
#CC377B #7BCC37 #377BCC
tetradic
#CC377B #C6CC37 #37CC88 #3D37CC
square
#CC377B #C6CC37 #37CC88 #3D37CC
split-complementary
#CC377B #37CC3D #37C6CC
monochromatic
#6D1C41 #9E285E #CC377B #D8689B #E599BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC377B#FFFFFF#000000##FFFFFF
##CC377B1.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)
#55617D
Deuteranopia (green-blind)
#7E7D78
Tritanopia (blue-blind)
#DD2454
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cc377b;
/* rgb */ color: rgb(204, 55, 123);
/* oklch */ color: oklch(57.9% 0.193 357.3);
Tailwind
colors: {
  custom: {
    50: '#e17aa1',
    500: '#cc377b',
    950: '#000000',
  },
}
SCSS
$custom: #cc377b;
$custom-light: #e17aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc377b",
  "rgb": {
    "r": 204,
    "g": 55,
    "b": 123
  },
  "hsl": {
    "h": 332.617,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57938,
    "c": 0.19312,
    "h": 357.3
  },
  "luminance": 0.17
}

Semantic roles & 50–950 ramp

primary
#CC377B
secondary
#8ED0B2
accent
#E39B45
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CC377B

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

Preview Lab → · Contrast checker → · Palette generator →

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