#CC4977#CC4977

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

Color values

HEX#CC4977
RGBrgb(204, 73, 119)
HSLhsl(339, 56%, 54%)
HSVhsv(339, 64%, 80%)
CMYKcmyk(0%, 64.2%, 41.7%, 20%)
CIE-LABlab(50.61, 55.62, 2.13)
CIE-LCHlch(50.61, 55.66, 2.20°)
OKLaboklab(59.64% 0.17 0.0062)
OKLCHoklch(59.64% 0.17 2.1)
XYZxyz(30.6163, 18.9380, 19.4923)
Luminance0.1893 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4977 #49CC9E
analogous
#CC49B9 #CC4977 #CC5D49
triadic
#CC4977 #77CC49 #4977CC
tetradic
#CC4977 #B9CC49 #49CC9E #5D49CC
square
#CC4977 #B9CC49 #49CC9E #5D49CC
split-complementary
#CC4977 #49CC5D #49B9CC
monochromatic
#792240 #A92F5A #CC4977 #D9799B #E7A9BE

Accessibility & contrast

On white

4.39
#CC4977 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC4977#FFFFFF#000000##000000
##CC49771.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#636878
Deuteranopia (green-blind)
#868274
Tritanopia (blue-blind)
#DD3A5B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cc4977;
/* rgb */ color: rgb(204, 73, 119);
/* oklch */ color: oklch(59.6% 0.170 2.1);
Tailwind
colors: {
  custom: {
    50: '#e0839e',
    500: '#cc4977',
    950: '#000000',
  },
}
SCSS
$custom: #cc4977;
$custom-light: #e0839e;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4977",
  "rgb": {
    "r": 204,
    "g": 73,
    "b": 119
  },
  "hsl": {
    "h": 338.931,
    "s": 56.223,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59635,
    "c": 0.17006,
    "h": 2.1
  },
  "luminance": 0.18934
}

Semantic roles & 50–950 ramp

primary
#CC4977
secondary
#9DD4C1
accent
#E0AA48
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CC4977

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

Preview Lab → · Contrast checker → · Palette generator →

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