#CC4178#CC4178

#CC4178 is a mid, vivid pink. Relative luminance 0.180; OKLCH L 58.8% C 0.180 H 0.1°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#CC4178
RGBrgb(204, 65, 120)
HSLhsl(336, 58%, 53%)
HSVhsv(336, 68%, 80%)
CMYKcmyk(0%, 68.1%, 41.2%, 20%)
CIE-LABlab(49.47, 58.93, -0.14)
CIE-LCHlch(49.47, 58.93, 359.87°)
OKLaboklab(58.8% 0.1805 0.0003)
OKLCHoklch(58.8% 0.18 0.1)
XYZxyz(30.1844, 17.9777, 19.6462)
Luminance0.1797 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4178 #41CC95
analogous
#CC41BD #CC4178 #CC4F41
triadic
#CC4178 #78CC41 #4178CC
tetradic
#CC4178 #BDCC41 #41CC95 #4F41CC
square
#CC4178 #BDCC41 #41CC95 #4F41CC
split-complementary
#CC4178 #41CC4F #41BDCC
monochromatic
#741F40 #A42C5B #CC4178 #D9719A #E6A1BD

Accessibility & contrast

On white

4.57
#CC4178 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#CC4178 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4178
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4178#FFFFFF#000000##000000
##CC41781.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D6579
Deuteranopia (green-blind)
#827F75
Tritanopia (blue-blind)
#DD3058
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cc4178;
/* rgb */ color: rgb(204, 65, 120);
/* oklch */ color: oklch(58.8% 0.180 0.1);
Tailwind
colors: {
  custom: {
    50: '#e17f9e',
    500: '#cc4178',
    950: '#000000',
  },
}
SCSS
$custom: #cc4178;
$custom-light: #e17f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4178",
  "rgb": {
    "r": 204,
    "g": 65,
    "b": 120
  },
  "hsl": {
    "h": 336.259,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58796,
    "c": 0.18048,
    "h": 0.1
  },
  "luminance": 0.17974
}

Semantic roles & 50–950 ramp

primary
#CC4178
secondary
#96D3BB
accent
#E1A447
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CC4178

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

Preview Lab → · Contrast checker → · Palette generator →

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