#CC4978#CC4978

#CC4978 is a mid, vivid pink. Relative luminance 0.190; OKLCH L 59.7% C 0.170 H 1.6°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#CC4978
RGBrgb(204, 73, 120)
HSLhsl(338, 56%, 54%)
HSVhsv(338, 64%, 80%)
CMYKcmyk(0%, 64.2%, 41.2%, 20%)
CIE-LABlab(50.64, 55.72, 1.57)
CIE-LCHlch(50.64, 55.74, 1.62°)
OKLaboklab(59.67% 0.1703 0.0047)
OKLCHoklch(59.67% 0.17 1.6)
XYZxyz(30.6766, 18.9621, 19.8102)
Luminance0.1896 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4978 #49CC9D
analogous
#CC49BA #CC4978 #CC5C49
triadic
#CC4978 #78CC49 #4978CC
tetradic
#CC4978 #BACC49 #49CC9D #5C49CC
square
#CC4978 #BACC49 #49CC9D #5C49CC
split-complementary
#CC4978 #49CC5C #49BACC
monochromatic
#792241 #A92F5B #CC4978 #D9799B #E7A9BF

Accessibility & contrast

On white

4.38
#CC4978 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#CC4978 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4978
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4978#FFFFFF#000000##000000
##CC49781.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#636979
Deuteranopia (green-blind)
#858275
Tritanopia (blue-blind)
#DD3A5C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc4978;
/* rgb */ color: rgb(204, 73, 120);
/* oklch */ color: oklch(59.7% 0.170 1.6);
Tailwind
colors: {
  custom: {
    50: '#e0839e',
    500: '#cc4978',
    950: '#000000',
  },
}
SCSS
$custom: #cc4978;
$custom-light: #e0839e;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4978",
  "rgb": {
    "r": 204,
    "g": 73,
    "b": 120
  },
  "hsl": {
    "h": 338.473,
    "s": 56.223,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59665,
    "c": 0.17037,
    "h": 1.6
  },
  "luminance": 0.18959
}

Semantic roles & 50–950 ramp

primary
#CC4978
secondary
#9DD4C0
accent
#E0A948
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CC4978

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

Preview Lab → · Contrast checker → · Palette generator →

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