#CC4A97#CC4A97

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

Color values

HEX#CC4A97
RGBrgb(204, 74, 151)
HSLhsl(324, 56%, 55%)
HSVhsv(324, 64%, 80%)
CMYKcmyk(0%, 63.7%, 26%, 20%)
CIE-LABlab(51.81, 58.93, -15.22)
CIE-LCHlch(51.81, 60.87, 345.52°)
OKLaboklab(60.86% 0.1783 -0.0401)
OKLCHoklch(60.86% 0.183 347.3)
XYZxyz(32.9378, 19.9726, 31.3926)
Luminance0.1997 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4A97 #4ACC7F
analogous
#C04ACC #CC4A97 #CC4A56
triadic
#CC4A97 #97CC4A #4A97CC
tetradic
#CC4A97 #CCC04A #4ACC7F #4A56CC
square
#CC4A97 #CCC04A #4ACC7F #4A56CC
split-complementary
#CC4A97 #56CC4A #4ACCC0
monochromatic
#792256 #A93078 #CC4A97 #D97AB2 #E7A9CE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC4A97#FFFFFF#000000##000000
##CC4A971.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)
#596D99
Deuteranopia (green-blind)
#7E8494
Tritanopia (blue-blind)
#DA466A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cc4a97;
/* rgb */ color: rgb(204, 74, 151);
/* oklch */ color: oklch(60.9% 0.183 347.3);
Tailwind
colors: {
  custom: {
    50: '#df84b5',
    500: '#cc4a97',
    950: '#000000',
  },
}
SCSS
$custom: #cc4a97;
$custom-light: #df84b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4a97",
  "rgb": {
    "r": 204,
    "g": 74,
    "b": 151
  },
  "hsl": {
    "h": 324.462,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60857,
    "c": 0.18275,
    "h": 347.3
  },
  "luminance": 0.19969
}

Semantic roles & 50–950 ramp

primary
#CC4A97
secondary
#9DD4B4
accent
#DF8648
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160B11
muted
#847C80

Preview Lab

Preview with #CC4A97

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

Preview Lab → · Contrast checker → · Palette generator →

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