#CC4879#CC4879

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

Color values

HEX#CC4879
RGBrgb(204, 72, 121)
HSLhsl(338, 56%, 54%)
HSVhsv(338, 65%, 80%)
CMYKcmyk(0%, 64.7%, 40.7%, 20%)
CIE-LABlab(50.52, 56.24, 0.79)
CIE-LCHlch(50.52, 56.25, 0.80°)
OKLaboklab(59.58% 0.172 0.0027)
OKLCHoklch(59.58% 0.172 0.9)
XYZxyz(30.6725, 18.8562, 20.1098)
Luminance0.1885 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4879 #48CC9B
analogous
#CC48BB #CC4879 #CC5948
triadic
#CC4879 #79CC48 #4879CC
tetradic
#CC4879 #BBCC48 #48CC9B #5948CC
square
#CC4879 #BBCC48 #48CC9B #5948CC
split-complementary
#CC4879 #48CC59 #48BBCC
monochromatic
#782142 #A82F5C #CC4879 #D9789C #E7A8BF

Accessibility & contrast

On white

4.40
#CC4879 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#CC4879 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4879
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4879#FFFFFF#000000##000000
##CC48791.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#62687A
Deuteranopia (green-blind)
#858276
Tritanopia (blue-blind)
#DC395B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cc4879;
/* rgb */ color: rgb(204, 72, 121);
/* oklch */ color: oklch(59.6% 0.172 0.9);
Tailwind
colors: {
  custom: {
    50: '#e0839f',
    500: '#cc4879',
    950: '#000000',
  },
}
SCSS
$custom: #cc4879;
$custom-light: #e0839f;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4879",
  "rgb": {
    "r": 204,
    "g": 72,
    "b": 121
  },
  "hsl": {
    "h": 337.727,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59583,
    "c": 0.17198,
    "h": 0.9
  },
  "luminance": 0.18853
}

Semantic roles & 50–950 ramp

primary
#CC4879
secondary
#9CD4BF
accent
#E0A748
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CC4879

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

Preview Lab → · Contrast checker → · Palette generator →

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