#CC3A78#CC3A78

#CC3A78 is a mid, vivid pink. Relative luminance 0.172; OKLCH L 58.1% C 0.189 H 359.0°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#CC3A78
RGBrgb(204, 58, 120)
HSLhsl(335, 59%, 51%)
HSVhsv(335, 72%, 80%)
CMYKcmyk(0%, 71.6%, 41.2%, 20%)
CIE-LABlab(48.54, 61.51, -1.50)
CIE-LCHlch(48.54, 61.53, 358.61°)
OKLaboklab(58.11% 0.1887 -0.0032)
OKLCHoklch(58.11% 0.189 359)
XYZxyz(29.8072, 17.2233, 19.5204)
Luminance0.1722 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3A78 #3ACC8E
analogous
#CC3AC1 #CC3A78 #CC453A
triadic
#CC3A78 #78CC3A #3A78CC
tetradic
#CC3A78 #C1CC3A #3ACC8E #453ACC
square
#CC3A78 #C1CC3A #3ACC8E #453ACC
split-complementary
#CC3A78 #3ACC45 #3AC1CC
monochromatic
#6F1D40 #A0295B #CC3A78 #D96B99 #E59BBB

Accessibility & contrast

On white

4.73
#CC3A78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#CC3A78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC3A78
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3A78#FFFFFF#000000##FFFFFF
##CC3A781.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58627A
Deuteranopia (green-blind)
#807D75
Tritanopia (blue-blind)
#DD2654
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cc3a78;
/* rgb */ color: rgb(204, 58, 120);
/* oklch */ color: oklch(58.1% 0.189 359.0);
Tailwind
colors: {
  custom: {
    50: '#e17c9e',
    500: '#cc3a78',
    950: '#000000',
  },
}
SCSS
$custom: #cc3a78;
$custom-light: #e17c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3a78",
  "rgb": {
    "r": 204,
    "g": 58,
    "b": 120
  },
  "hsl": {
    "h": 334.521,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.5811,
    "c": 0.18871,
    "h": 359
  },
  "luminance": 0.1722
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC3A78

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

Preview Lab → · Contrast checker → · Palette generator →

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