#CC3F78#CC3F78

#CC3F78 is a mid, vivid pink. Relative luminance 0.177; OKLCH L 58.6% C 0.183 H 359.8°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#CC3F78
RGBrgb(204, 63, 120)
HSLhsl(336, 58%, 52%)
HSVhsv(336, 69%, 80%)
CMYKcmyk(0%, 69.1%, 41.2%, 20%)
CIE-LABlab(49.19, 59.69, -0.54)
CIE-LCHlch(49.19, 59.70, 359.48°)
OKLaboklab(58.59% 0.1829 -0.0007)
OKLCHoklch(58.59% 0.183 359.8)
XYZxyz(30.0716, 17.7521, 19.6086)
Luminance0.1775 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3F78 #3FCC93
analogous
#CC3FBE #CC3F78 #CC4D3F
triadic
#CC3F78 #78CC3F #3F78CC
tetradic
#CC3F78 #BECC3F #3FCC93 #4D3FCC
square
#CC3F78 #BECC3F #3FCC93 #4D3FCC
split-complementary
#CC3F78 #3FCC4D #3FBECC
monochromatic
#721E40 #A32B5B #CC3F78 #D96F9A #E6A0BC

Accessibility & contrast

On white

4.62
#CC3F78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#CC3F78 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CC3F78
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3F78#FFFFFF#000000##FFFFFF
##CC3F781.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6479
Deuteranopia (green-blind)
#827F75
Tritanopia (blue-blind)
#DD2D57
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cc3f78;
/* rgb */ color: rgb(204, 63, 120);
/* oklch */ color: oklch(58.6% 0.183 359.8);
Tailwind
colors: {
  custom: {
    50: '#e17e9e',
    500: '#cc3f78',
    950: '#000000',
  },
}
SCSS
$custom: #cc3f78;
$custom-light: #e17e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3f78",
  "rgb": {
    "r": 204,
    "g": 63,
    "b": 120
  },
  "hsl": {
    "h": 335.745,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.58593,
    "c": 0.1829,
    "h": 359.8
  },
  "luminance": 0.17748
}

Semantic roles & 50–950 ramp

primary
#CC3F78
secondary
#95D2B9
accent
#E1A347
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CC3F78

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

Preview Lab → · Contrast checker → · Palette generator →

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