#CC4C9C#CC4C9C

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

Color values

HEX#CC4C9C
RGBrgb(204, 76, 156)
HSLhsl(323, 56%, 55%)
HSVhsv(323, 63%, 80%)
CMYKcmyk(0%, 62.7%, 23.5%, 20%)
CIE-LABlab(52.30, 58.76, -17.43)
CIE-LCHlch(52.30, 61.29, 343.48°)
OKLaboklab(61.28% 0.177 -0.0462)
OKLCHoklch(61.28% 0.183 345.4)
XYZxyz(33.4882, 20.4098, 33.6219)
Luminance0.2041 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4C9C #4CCC7C
analogous
#BC4CCC #CC4C9C #CC4C5C
triadic
#CC4C9C #9CCC4C #4C9CCC
tetradic
#CC4C9C #CCBC4C #4CCC7C #4C5CCC
square
#CC4C9C #CCBC4C #4CCC7C #4C5CCC
split-complementary
#CC4C9C #5CCC4C #4CCCBC
monochromatic
#7B235A #AA317D #CC4C9C #DA7CB6 #E7ABD1

Accessibility & contrast

On white

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

On black

5.08
#CC4C9C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4C9C
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4C9C#FFFFFF#000000##000000
##CC4C9C1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#596F9E
Deuteranopia (green-blind)
#7E8599
Tritanopia (blue-blind)
#D94A6D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cc4c9c;
/* rgb */ color: rgb(204, 76, 156);
/* oklch */ color: oklch(61.3% 0.183 345.4);
Tailwind
colors: {
  custom: {
    50: '#df86b9',
    500: '#cc4c9c',
    950: '#000000',
  },
}
SCSS
$custom: #cc4c9c;
$custom-light: #df86b9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4c9c",
  "rgb": {
    "r": 204,
    "g": 76,
    "b": 156
  },
  "hsl": {
    "h": 322.5,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.6128,
    "c": 0.18289,
    "h": 345.4
  },
  "luminance": 0.20407
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC4C9C

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

Preview Lab → · Contrast checker → · Palette generator →

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