#CC4979#CC4979

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

Color values

HEX#CC4979
RGBrgb(204, 73, 121)
HSLhsl(338, 56%, 54%)
HSVhsv(338, 64%, 80%)
CMYKcmyk(0%, 64.2%, 40.7%, 20%)
CIE-LABlab(50.67, 55.82, 1.01)
CIE-LCHlch(50.67, 55.83, 1.04°)
OKLaboklab(59.7% 0.1706 0.0033)
OKLCHoklch(59.7% 0.171 1.1)
XYZxyz(30.7376, 18.9865, 20.1315)
Luminance0.1898 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4979 #49CC9C
analogous
#CC49BB #CC4979 #CC5B49
triadic
#CC4979 #79CC49 #4979CC
tetradic
#CC4979 #BBCC49 #49CC9C #5B49CC
square
#CC4979 #BBCC49 #49CC9C #5B49CC
split-complementary
#CC4979 #49CC5B #49BBCC
monochromatic
#792242 #A92F5C #CC4979 #D9799C #E7A9BF

Accessibility & contrast

On white

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

On black

4.80
#CC4979 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4979
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4979#FFFFFF#000000##000000
##CC49791.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#62697A
Deuteranopia (green-blind)
#858276
Tritanopia (blue-blind)
#DC3A5C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc4979;
/* rgb */ color: rgb(204, 73, 121);
/* oklch */ color: oklch(59.7% 0.171 1.1);
Tailwind
colors: {
  custom: {
    50: '#e0839f',
    500: '#cc4979',
    950: '#000000',
  },
}
SCSS
$custom: #cc4979;
$custom-light: #e0839f;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4979",
  "rgb": {
    "r": 204,
    "g": 73,
    "b": 121
  },
  "hsl": {
    "h": 338.015,
    "s": 56.223,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59696,
    "c": 0.17067,
    "h": 1.1
  },
  "luminance": 0.18983
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC4979

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

Preview Lab → · Contrast checker → · Palette generator →

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