#CC4C9E#CC4C9E

#CC4C9E is a mid, vivid pink. Relative luminance 0.205; OKLCH L 61.4% C 0.184 H 344.5°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#CC4C9E
RGBrgb(204, 76, 158)
HSLhsl(322, 56%, 55%)
HSVhsv(322, 63%, 80%)
CMYKcmyk(0%, 62.7%, 22.5%, 20%)
CIE-LABlab(52.37, 59.03, -18.49)
CIE-LCHlch(52.37, 61.86, 342.61°)
OKLaboklab(61.36% 0.1774 -0.0491)
OKLCHoklch(61.36% 0.184 344.5)
XYZxyz(33.6589, 20.4781, 34.5211)
Luminance0.2047 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4C9E #4CCC7A
analogous
#BA4CCC #CC4C9E #CC4C5E
triadic
#CC4C9E #9ECC4C #4C9ECC
tetradic
#CC4C9E #CCBA4C #4CCC7A #4C5ECC
square
#CC4C9E #CCBA4C #4CCC7A #4C5ECC
split-complementary
#CC4C9E #5ECC4C #4CCCBA
monochromatic
#7B235B #AA317F #CC4C9E #DA7CB8 #E7ABD2

Accessibility & contrast

On white

4.12
#CC4C9E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC4C9E#FFFFFF#000000##000000
##CC4C9E1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#586FA0
Deuteranopia (green-blind)
#7D859B
Tritanopia (blue-blind)
#D94B6E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cc4c9e;
/* rgb */ color: rgb(204, 76, 158);
/* oklch */ color: oklch(61.4% 0.184 344.5);
Tailwind
colors: {
  custom: {
    50: '#df86ba',
    500: '#cc4c9e',
    950: '#000000',
  },
}
SCSS
$custom: #cc4c9e;
$custom-light: #df86ba;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4c9e",
  "rgb": {
    "r": 204,
    "g": 76,
    "b": 158
  },
  "hsl": {
    "h": 321.563,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.61361,
    "c": 0.1841,
    "h": 344.5
  },
  "luminance": 0.20475
}

Semantic roles & 50–950 ramp

primary
#CC4C9E
secondary
#9FD5B2
accent
#DF7F49
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CC4C9E

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

Preview Lab → · Contrast checker → · Palette generator →

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