#CC4078#CC4078

#CC4078 is a mid, vivid pink. Relative luminance 0.179; OKLCH L 58.7% C 0.182 H 359.9°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#CC4078
RGBrgb(204, 64, 120)
HSLhsl(336, 58%, 53%)
HSVhsv(336, 69%, 80%)
CMYKcmyk(0%, 68.6%, 41.2%, 20%)
CIE-LABlab(49.33, 59.32, -0.34)
CIE-LCHlch(49.33, 59.32, 359.67°)
OKLaboklab(58.69% 0.1817 -0.0002)
OKLCHoklch(58.69% 0.182 359.9)
XYZxyz(30.1275, 17.8639, 19.6272)
Luminance0.1786 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4078 #40CC94
analogous
#CC40BE #CC4078 #CC4E40
triadic
#CC4078 #78CC40 #4078CC
tetradic
#CC4078 #BECC40 #40CC94 #4E40CC
square
#CC4078 #BECC40 #40CC94 #4E40CC
split-complementary
#CC4078 #40CC4E #40BECC
monochromatic
#731F40 #A32C5B #CC4078 #D9709A #E6A1BC

Accessibility & contrast

On white

4.59
#CC4078 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#CC4078 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CC4078
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4078#FFFFFF#000000##FFFFFF
##CC40781.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc4078;
/* rgb */ color: rgb(204, 64, 120);
/* oklch */ color: oklch(58.7% 0.182 359.9);
Tailwind
colors: {
  custom: {
    50: '#e17e9e',
    500: '#cc4078',
    950: '#000000',
  },
}
SCSS
$custom: #cc4078;
$custom-light: #e17e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4078",
  "rgb": {
    "r": 204,
    "g": 64,
    "b": 120
  },
  "hsl": {
    "h": 336,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58693,
    "c": 0.1817,
    "h": 359.9
  },
  "luminance": 0.1786
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC4078

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

Preview Lab → · Contrast checker → · Palette generator →

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