#CC4980#CC4980

#CC4980 is a mid, vivid pink. Relative luminance 0.192; OKLCH L 59.9% C 0.173 H 357.7°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#CC4980
RGBrgb(204, 73, 128)
HSLhsl(335, 56%, 54%)
HSVhsv(335, 64%, 80%)
CMYKcmyk(0%, 64.2%, 37.3%, 20%)
CIE-LABlab(50.88, 56.58, -2.89)
CIE-LCHlch(50.88, 56.65, 357.08°)
OKLaboklab(59.92% 0.173 -0.0069)
OKLCHoklch(59.92% 0.173 357.7)
XYZxyz(31.1826, 19.1645, 22.4749)
Luminance0.1916 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4980 #49CC95
analogous
#CC49C2 #CC4980 #CC5449
triadic
#CC4980 #80CC49 #4980CC
tetradic
#CC4980 #C2CC49 #49CC95 #5449CC
square
#CC4980 #C2CC49 #49CC95 #5449CC
split-complementary
#CC4980 #49CC54 #49C2CC
monochromatic
#792246 #A92F62 #CC4980 #D979A1 #E7A9C3

Accessibility & contrast

On white

4.35
#CC4980 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#CC4980 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4980
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4980#FFFFFF#000000##000000
##CC49801.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#606A82
Deuteranopia (green-blind)
#84827D
Tritanopia (blue-blind)
#DC3D5F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc4980;
/* rgb */ color: rgb(204, 73, 128);
/* oklch */ color: oklch(59.9% 0.173 357.7);
Tailwind
colors: {
  custom: {
    50: '#e083a4',
    500: '#cc4980',
    950: '#000000',
  },
}
SCSS
$custom: #cc4980;
$custom-light: #e083a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4980",
  "rgb": {
    "r": 204,
    "g": 73,
    "b": 128
  },
  "hsl": {
    "h": 334.809,
    "s": 56.223,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59918,
    "c": 0.17312,
    "h": 357.7
  },
  "luminance": 0.19161
}

Semantic roles & 50–950 ramp

primary
#CC4980
secondary
#9DD4BD
accent
#E0A048
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #CC4980

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

Preview Lab → · Contrast checker → · Palette generator →

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