#CC4C8A#CC4C8A

#CC4C8A is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.6% C 0.173 H 353.5°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#CC4C8A
RGBrgb(204, 76, 138)
HSLhsl(331, 56%, 55%)
HSVhsv(331, 63%, 80%)
CMYKcmyk(0%, 62.7%, 32.4%, 20%)
CIE-LABlab(51.66, 56.47, -7.71)
CIE-LCHlch(51.66, 56.99, 352.22°)
OKLaboklab(60.6% 0.1721 -0.0197)
OKLCHoklch(60.6% 0.173 353.5)
XYZxyz(32.0754, 19.8447, 26.1810)
Luminance0.1984 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4C8A #4CCC8E
analogous
#CC4CCA #CC4C8A #CC4E4C
triadic
#CC4C8A #8ACC4C #4C8ACC
tetradic
#CC4C8A #CACC4C #4CCC8E #4E4CCC
square
#CC4C8A #CACC4C #4CCC8E #4E4CCC
split-complementary
#CC4C8A #4CCC4E #4CCACC
monochromatic
#7B234D #AA316B #CC4C8A #DA7CA9 #E7ABC8

Accessibility & contrast

On white

4.23
#CC4C8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#CC4C8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4C8A
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4C8A#FFFFFF#000000##000000
##CC4C8A1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#606C8C
Deuteranopia (green-blind)
#838487
Tritanopia (blue-blind)
#DB4465
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cc4c8a;
/* rgb */ color: rgb(204, 76, 138);
/* oklch */ color: oklch(60.6% 0.173 353.5);
Tailwind
colors: {
  custom: {
    50: '#df85ac',
    500: '#cc4c8a',
    950: '#000000',
  },
}
SCSS
$custom: #cc4c8a;
$custom-light: #df85ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4c8a",
  "rgb": {
    "r": 204,
    "g": 76,
    "b": 138
  },
  "hsl": {
    "h": 330.938,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.60602,
    "c": 0.17325,
    "h": 353.5
  },
  "luminance": 0.19841
}

Semantic roles & 50–950 ramp

primary
#CC4C8A
secondary
#9FD5BB
accent
#DF9649
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CC4C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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