#CC4E78#CC4E78

#CC4E78 is a mid, vivid pink. Relative luminance 0.196; OKLCH L 60.3% C 0.164 H 2.7°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#CC4E78
RGBrgb(204, 78, 120)
HSLhsl(340, 55%, 55%)
HSVhsv(340, 62%, 80%)
CMYKcmyk(0%, 61.8%, 41.2%, 20%)
CIE-LABlab(51.43, 53.58, 2.72)
CIE-LCHlch(51.43, 53.65, 2.91°)
OKLaboklab(60.25% 0.1635 0.0077)
OKLCHoklch(60.25% 0.164 2.7)
XYZxyz(31.0184, 19.6458, 19.9242)
Luminance0.1964 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4E78 #4ECCA2
analogous
#CC4EB7 #CC4E78 #CC634E
triadic
#CC4E78 #78CC4E #4E78CC
tetradic
#CC4E78 #B7CC4E #4ECCA2 #634ECC
square
#CC4E78 #B7CC4E #4ECCA2 #634ECC
split-complementary
#CC4E78 #4ECC63 #4EB7CC
monochromatic
#7C2441 #AB315A #CC4E78 #DA7E9C #E7ADC0

Accessibility & contrast

On white

4.26
#CC4E78 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#CC4E78 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4E78
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4E78#FFFFFF#000000##000000
##CC4E781.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#666B79
Deuteranopia (green-blind)
#888475
Tritanopia (blue-blind)
#DC405E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cc4e78;
/* rgb */ color: rgb(204, 78, 120);
/* oklch */ color: oklch(60.3% 0.164 2.7);
Tailwind
colors: {
  custom: {
    50: '#e0869e',
    500: '#cc4e78',
    950: '#000000',
  },
}
SCSS
$custom: #cc4e78;
$custom-light: #e0869e;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4e78",
  "rgb": {
    "r": 204,
    "g": 78,
    "b": 120
  },
  "hsl": {
    "h": 340,
    "s": 55.263,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60254,
    "c": 0.16372,
    "h": 2.7
  },
  "luminance": 0.19642
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC4E78

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

Preview Lab → · Contrast checker → · Palette generator →

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