#CC3877#CC3877

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

Color values

HEX#CC3877
RGBrgb(204, 56, 119)
HSLhsl(334, 59%, 51%)
HSVhsv(334, 73%, 80%)
CMYKcmyk(0%, 72.5%, 41.7%, 20%)
CIE-LABlab(48.26, 62.10, -1.30)
CIE-LCHlch(48.26, 62.12, 358.80°)
OKLaboklab(57.9% 0.1906 -0.0026)
OKLCHoklch(57.9% 0.191 359.2)
XYZxyz(29.6479, 17.0014, 19.1695)
Luminance0.1700 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3877 #38CC8D
analogous
#CC38C1 #CC3877 #CC4338
triadic
#CC3877 #77CC38 #3877CC
tetradic
#CC3877 #C1CC38 #38CC8D #4338CC
square
#CC3877 #C1CC38 #38CC8D #4338CC
split-complementary
#CC3877 #38CC43 #38C1CC
monochromatic
#6E1C3F #9E295B #CC3877 #D86998 #E599BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC3877#FFFFFF#000000##FFFFFF
##CC38771.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)
#576179
Deuteranopia (green-blind)
#7F7D74
Tritanopia (blue-blind)
#DD2353
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cc3877;
/* rgb */ color: rgb(204, 56, 119);
/* oklch */ color: oklch(57.9% 0.191 359.2);
Tailwind
colors: {
  custom: {
    50: '#e17b9e',
    500: '#cc3877',
    950: '#000000',
  },
}
SCSS
$custom: #cc3877;
$custom-light: #e17b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3877",
  "rgb": {
    "r": 204,
    "g": 56,
    "b": 119
  },
  "hsl": {
    "h": 334.459,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57895,
    "c": 0.19058,
    "h": 359.2
  },
  "luminance": 0.16998
}

Semantic roles & 50–950 ramp

primary
#CC3877
secondary
#8FD1B5
accent
#E2A045
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CC3877

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

Preview Lab → · Contrast checker → · Palette generator →

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