#CC4A9C#CC4A9C

#CC4A9C is a mid, vivid pink. Relative luminance 0.201; OKLCH L 61.1% C 0.186 H 345.2°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#CC4A9C
RGBrgb(204, 74, 156)
HSLhsl(322, 56%, 55%)
HSVhsv(322, 64%, 80%)
CMYKcmyk(0%, 63.7%, 23.5%, 20%)
CIE-LABlab(51.99, 59.59, -17.89)
CIE-LCHlch(51.99, 62.22, 343.29°)
OKLaboklab(61.06% 0.1795 -0.0475)
OKLCHoklch(61.06% 0.186 345.2)
XYZxyz(33.3525, 20.1385, 33.5766)
Luminance0.2014 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4A9C #4ACC7A
analogous
#BB4ACC #CC4A9C #CC4A5B
triadic
#CC4A9C #9CCC4A #4A9CCC
tetradic
#CC4A9C #CCBB4A #4ACC7A #4A5BCC
square
#CC4A9C #CCBB4A #4ACC7A #4A5BCC
split-complementary
#CC4A9C #5BCC4A #4ACCBB
monochromatic
#792259 #A9307C #CC4A9C #D97AB6 #E7A9D0

Accessibility & contrast

On white

4.18
#CC4A9C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#CC4A9C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4A9C
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4A9C#FFFFFF#000000##000000
##CC4A9C1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#576E9E
Deuteranopia (green-blind)
#7D8499
Tritanopia (blue-blind)
#D9486C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cc4a9c;
/* rgb */ color: rgb(204, 74, 156);
/* oklch */ color: oklch(61.1% 0.186 345.2);
Tailwind
colors: {
  custom: {
    50: '#df84b9',
    500: '#cc4a9c',
    950: '#000000',
  },
}
SCSS
$custom: #cc4a9c;
$custom-light: #df84b9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4a9c",
  "rgb": {
    "r": 204,
    "g": 74,
    "b": 156
  },
  "hsl": {
    "h": 322.154,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61056,
    "c": 0.18567,
    "h": 345.2
  },
  "luminance": 0.20135
}

Semantic roles & 50–950 ramp

primary
#CC4A9C
secondary
#9DD4B2
accent
#DF8048
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CC4A9C

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

Preview Lab → · Contrast checker → · Palette generator →

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