#CC4A78#CC4A78

#CC4A78 is a mid, vivid pink. Relative luminance 0.191; OKLCH L 59.8% C 0.169 H 1.8°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#CC4A78
RGBrgb(204, 74, 120)
HSLhsl(339, 56%, 55%)
HSVhsv(339, 64%, 80%)
CMYKcmyk(0%, 63.7%, 41.2%, 20%)
CIE-LABlab(50.80, 55.30, 1.80)
CIE-LCHlch(50.80, 55.33, 1.86°)
OKLaboklab(59.78% 0.169 0.0053)
OKLCHoklch(59.78% 0.169 1.8)
XYZxyz(30.7429, 19.0946, 19.8323)
Luminance0.1909 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4A78 #4ACC9E
analogous
#CC4AB9 #CC4A78 #CC5D4A
triadic
#CC4A78 #78CC4A #4A78CC
tetradic
#CC4A78 #B9CC4A #4ACC9E #5D4ACC
square
#CC4A78 #B9CC4A #4ACC9E #5D4ACC
split-complementary
#CC4A78 #4ACC5D #4AB9CC
monochromatic
#792241 #A9305B #CC4A78 #D97A9C #E7A9BF

Accessibility & contrast

On white

4.36
#CC4A78 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#CC4A78 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4A78
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4A78#FFFFFF#000000##000000
##CC4A781.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#636979
Deuteranopia (green-blind)
#868275
Tritanopia (blue-blind)
#DC3B5C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc4a78;
/* rgb */ color: rgb(204, 74, 120);
/* oklch */ color: oklch(59.8% 0.169 1.8);
Tailwind
colors: {
  custom: {
    50: '#e0849e',
    500: '#cc4a78',
    950: '#000000',
  },
}
SCSS
$custom: #cc4a78;
$custom-light: #e0849e;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4a78",
  "rgb": {
    "r": 204,
    "g": 74,
    "b": 120
  },
  "hsl": {
    "h": 338.769,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.5978,
    "c": 0.16905,
    "h": 1.8
  },
  "luminance": 0.19091
}

Semantic roles & 50–950 ramp

primary
#CC4A78
secondary
#9DD4C1
accent
#DFAA48
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CC4A78

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

Preview Lab → · Contrast checker → · Palette generator →

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