#CC4F78#CC4F78

#CC4F78 is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.4% C 0.162 H 2.9°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#CC4F78
RGBrgb(204, 79, 120)
HSLhsl(340, 55%, 55%)
HSVhsv(340, 61%, 80%)
CMYKcmyk(0%, 61.3%, 41.2%, 20%)
CIE-LABlab(51.60, 53.14, 2.96)
CIE-LCHlch(51.60, 53.22, 3.19°)
OKLaboklab(60.38% 0.1621 0.0083)
OKLCHoklch(60.38% 0.162 2.9)
XYZxyz(31.0900, 19.7890, 19.9481)
Luminance0.1978 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4F78 #4FCCA3
analogous
#CC4FB6 #CC4F78 #CC644F
triadic
#CC4F78 #78CC4F #4F78CC
tetradic
#CC4F78 #B6CC4F #4FCCA3 #644FCC
square
#CC4F78 #B6CC4F #4FCCA3 #644FCC
split-complementary
#CC4F78 #4FCC64 #4FB6CC
monochromatic
#7D2441 #AC325A #CC4F78 #DA7E9C #E7AEC1

Accessibility & contrast

On white

4.24
#CC4F78 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#CC4F78 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4F78
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4F78#FFFFFF#000000##000000
##CC4F781.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#676C79
Deuteranopia (green-blind)
#888475
Tritanopia (blue-blind)
#DC415F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cc4f78;
/* rgb */ color: rgb(204, 79, 120);
/* oklch */ color: oklch(60.4% 0.162 2.9);
Tailwind
colors: {
  custom: {
    50: '#e0869e',
    500: '#cc4f78',
    950: '#000000',
  },
}
SCSS
$custom: #cc4f78;
$custom-light: #e0869e;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4f78",
  "rgb": {
    "r": 204,
    "g": 79,
    "b": 120
  },
  "hsl": {
    "h": 340.32,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60376,
    "c": 0.16236,
    "h": 2.9
  },
  "luminance": 0.19785
}

Semantic roles & 50–950 ramp

primary
#CC4F78
secondary
#A1D5C4
accent
#DEAE49
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CC4F78

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

Preview Lab → · Contrast checker → · Palette generator →

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