#CC4C8E#CC4C8E

#CC4C8E is a mid, vivid pink. Relative luminance 0.200; OKLCH L 60.7% C 0.175 H 351.6°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#CC4C8E
RGBrgb(204, 76, 142)
HSLhsl(329, 56%, 55%)
HSVhsv(329, 63%, 80%)
CMYKcmyk(0%, 62.7%, 30.4%, 20%)
CIE-LABlab(51.79, 56.95, -9.89)
CIE-LCHlch(51.79, 57.81, 350.15°)
OKLaboklab(60.75% 0.1733 -0.0256)
OKLCHoklch(60.75% 0.175 351.6)
XYZxyz(32.3703, 19.9626, 27.7344)
Luminance0.1996 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4C8E #4CCC8A
analogous
#CA4CCC #CC4C8E #CC4C4E
triadic
#CC4C8E #8ECC4C #4C8ECC
tetradic
#CC4C8E #CCCA4C #4CCC8A #4C4ECC
square
#CC4C8E #CCCA4C #4CCC8A #4C4ECC
split-complementary
#CC4C8E #4ECC4C #4CCCCA
monochromatic
#7B2350 #AA316F #CC4C8E #DA7CAC #E7ABCA

Accessibility & contrast

On white

4.21
#CC4C8E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#CC4C8E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4C8E
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4C8E#FFFFFF#000000##000000
##CC4C8E1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E6D90
Deuteranopia (green-blind)
#82848B
Tritanopia (blue-blind)
#DA4567
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cc4c8e;
/* rgb */ color: rgb(204, 76, 142);
/* oklch */ color: oklch(60.7% 0.175 351.6);
Tailwind
colors: {
  custom: {
    50: '#df85af',
    500: '#cc4c8e',
    950: '#000000',
  },
}
SCSS
$custom: #cc4c8e;
$custom-light: #df85af;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4c8e",
  "rgb": {
    "r": 204,
    "g": 76,
    "b": 142
  },
  "hsl": {
    "h": 329.063,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.60745,
    "c": 0.17517,
    "h": 351.6
  },
  "luminance": 0.19959
}

Semantic roles & 50–950 ramp

primary
#CC4C8E
secondary
#9FD5B9
accent
#DF9249
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CC4C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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