#CC4C9D#CC4C9D

#CC4C9D is a mid, vivid pink. Relative luminance 0.204; OKLCH L 61.3% C 0.183 H 344.9°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#CC4C9D
RGBrgb(204, 76, 157)
HSLhsl(322, 56%, 55%)
HSVhsv(322, 63%, 80%)
CMYKcmyk(0%, 62.7%, 23%, 20%)
CIE-LABlab(52.34, 58.90, -17.96)
CIE-LCHlch(52.34, 61.57, 343.04°)
OKLaboklab(61.32% 0.1772 -0.0477)
OKLCHoklch(61.32% 0.183 344.9)
XYZxyz(33.5732, 20.4438, 34.0697)
Luminance0.2044 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4C9D #4CCC7B
analogous
#BB4CCC #CC4C9D #CC4C5D
triadic
#CC4C9D #9DCC4C #4C9DCC
tetradic
#CC4C9D #CCBB4C #4CCC7B #4C5DCC
square
#CC4C9D #CCBB4C #4CCC7B #4C5DCC
split-complementary
#CC4C9D #5DCC4C #4CCCBB
monochromatic
#7B235A #AA317E #CC4C9D #DA7CB7 #E7ABD1

Accessibility & contrast

On white

4.13
#CC4C9D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#CC4C9D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4C9D
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4C9D#FFFFFF#000000##000000
##CC4C9D1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#596F9F
Deuteranopia (green-blind)
#7E859A
Tritanopia (blue-blind)
#D94B6E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cc4c9d;
/* rgb */ color: rgb(204, 76, 157);
/* oklch */ color: oklch(61.3% 0.183 344.9);
Tailwind
colors: {
  custom: {
    50: '#df86ba',
    500: '#cc4c9d',
    950: '#000000',
  },
}
SCSS
$custom: #cc4c9d;
$custom-light: #df86ba;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4c9d",
  "rgb": {
    "r": 204,
    "g": 76,
    "b": 157
  },
  "hsl": {
    "h": 322.031,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.6132,
    "c": 0.18349,
    "h": 344.9
  },
  "luminance": 0.20441
}

Semantic roles & 50–950 ramp

primary
#CC4C9D
secondary
#9FD5B3
accent
#DF8049
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CC4C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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