#CC4878#CC4878

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

Color values

HEX#CC4878
RGBrgb(204, 72, 120)
HSLhsl(338, 56%, 54%)
HSVhsv(338, 65%, 80%)
CMYKcmyk(0%, 64.7%, 41.2%, 20%)
CIE-LABlab(50.49, 56.14, 1.35)
CIE-LCHlch(50.49, 56.15, 1.38°)
OKLaboklab(59.55% 0.1716 0.0042)
OKLCHoklch(59.55% 0.172 1.4)
XYZxyz(30.6114, 18.8318, 19.7885)
Luminance0.1883 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4878 #48CC9C
analogous
#CC48BA #CC4878 #CC5A48
triadic
#CC4878 #78CC48 #4878CC
tetradic
#CC4878 #BACC48 #48CC9C #5A48CC
square
#CC4878 #BACC48 #48CC9C #5A48CC
split-complementary
#CC4878 #48CC5A #48BACC
monochromatic
#782141 #A82F5B #CC4878 #D9789B #E7A8BF

Accessibility & contrast

On white

4.41
#CC4878 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC4878#FFFFFF#000000##000000
##CC48781.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#626879
Deuteranopia (green-blind)
#858275
Tritanopia (blue-blind)
#DD395B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cc4878;
/* rgb */ color: rgb(204, 72, 120);
/* oklch */ color: oklch(59.6% 0.172 1.4);
Tailwind
colors: {
  custom: {
    50: '#e0839e',
    500: '#cc4878',
    950: '#000000',
  },
}
SCSS
$custom: #cc4878;
$custom-light: #e0839e;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4878",
  "rgb": {
    "r": 204,
    "g": 72,
    "b": 120
  },
  "hsl": {
    "h": 338.182,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59552,
    "c": 0.17167,
    "h": 1.4
  },
  "luminance": 0.18828
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC4878

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

Preview Lab → · Contrast checker → · Palette generator →

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