#CC3B78#CC3B78

#CC3B78 is a mid, vivid pink. Relative luminance 0.173; OKLCH L 58.2% C 0.188 H 359.2°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#CC3B78
RGBrgb(204, 59, 120)
HSLhsl(335, 59%, 52%)
HSVhsv(335, 71%, 80%)
CMYKcmyk(0%, 71.1%, 41.2%, 20%)
CIE-LABlab(48.67, 61.16, -1.31)
CIE-LCHlch(48.67, 61.17, 358.77°)
OKLaboklab(58.2% 0.1876 -0.0027)
OKLCHoklch(58.2% 0.188 359.2)
XYZxyz(29.8581, 17.3251, 19.5374)
Luminance0.1732 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3B78 #3BCC8F
analogous
#CC3BC0 #CC3B78 #CC473B
triadic
#CC3B78 #78CC3B #3B78CC
tetradic
#CC3B78 #C0CC3B #3BCC8F #473BCC
square
#CC3B78 #C0CC3B #3BCC8F #473BCC
split-complementary
#CC3B78 #3BCC47 #3BC0CC
monochromatic
#701D40 #A02A5C #CC3B78 #D96C99 #E59CBB

Accessibility & contrast

On white

4.70
#CC3B78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#CC3B78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC3B78
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3B78#FFFFFF#000000##FFFFFF
##CC3B781.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59627A
Deuteranopia (green-blind)
#807E75
Tritanopia (blue-blind)
#DD2855
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #cc3b78;
/* rgb */ color: rgb(204, 59, 120);
/* oklch */ color: oklch(58.2% 0.188 359.2);
Tailwind
colors: {
  custom: {
    50: '#e17c9e',
    500: '#cc3b78',
    950: '#000000',
  },
}
SCSS
$custom: #cc3b78;
$custom-light: #e17c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3b78",
  "rgb": {
    "r": 204,
    "g": 59,
    "b": 120
  },
  "hsl": {
    "h": 334.759,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58204,
    "c": 0.18757,
    "h": 359.2
  },
  "luminance": 0.17321
}

Semantic roles & 50–950 ramp

primary
#CC3B78
secondary
#92D1B6
accent
#E2A046
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CC3B78

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

Preview Lab → · Contrast checker → · Palette generator →

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