#CC377A#CC377A

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

Color values

HEX#CC377A
RGBrgb(204, 55, 122)
HSLhsl(333, 59%, 51%)
HSVhsv(333, 73%, 80%)
CMYKcmyk(0%, 73%, 40.2%, 20%)
CIE-LABlab(48.23, 62.74, -3.16)
CIE-LCHlch(48.23, 62.82, 357.11°)
OKLaboklab(57.9% 0.1926 -0.0075)
OKLCHoklch(57.9% 0.193 357.8)
XYZxyz(29.7830, 16.9786, 20.1174)
Luminance0.1698 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC377A #37CC89
analogous
#CC37C5 #CC377A #CC3E37
triadic
#CC377A #7ACC37 #377ACC
tetradic
#CC377A #C5CC37 #37CC89 #3E37CC
square
#CC377A #C5CC37 #37CC89 #3E37CC
split-complementary
#CC377A #37CC3E #37C5CC
monochromatic
#6D1C40 #9E285D #CC377A #D8689A #E599BB

Accessibility & contrast

On white

4.78
#CC377A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#CC377A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC377A
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC377A#FFFFFF#000000##FFFFFF
##CC377A1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56617C
Deuteranopia (green-blind)
#7E7D77
Tritanopia (blue-blind)
#DD2354
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #cc377a;
/* rgb */ color: rgb(204, 55, 122);
/* oklch */ color: oklch(57.9% 0.193 357.8);
Tailwind
colors: {
  custom: {
    50: '#e17aa0',
    500: '#cc377a',
    950: '#000000',
  },
}
SCSS
$custom: #cc377a;
$custom-light: #e17aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc377a",
  "rgb": {
    "r": 204,
    "g": 55,
    "b": 122
  },
  "hsl": {
    "h": 333.02,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57905,
    "c": 0.19275,
    "h": 357.8
  },
  "luminance": 0.16975
}

Semantic roles & 50–950 ramp

primary
#CC377A
secondary
#8ED0B3
accent
#E39C45
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CC377A

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

Preview Lab → · Contrast checker → · Palette generator →

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