#CC4C97#CC4C97

#CC4C97 is a mid, vivid pink. Relative luminance 0.202; OKLCH L 61.1% C 0.180 H 347.5°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#CC4C97
RGBrgb(204, 76, 151)
HSLhsl(325, 56%, 55%)
HSVhsv(325, 63%, 80%)
CMYKcmyk(0%, 62.7%, 26%, 20%)
CIE-LABlab(52.11, 58.10, -14.75)
CIE-LCHlch(52.11, 59.94, 345.75°)
OKLaboklab(61.08% 0.1757 -0.0388)
OKLCHoklch(61.08% 0.18 347.5)
XYZxyz(33.0735, 20.2439, 31.4378)
Luminance0.2024 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4C97 #4CCC81
analogous
#C14CCC #CC4C97 #CC4C57
triadic
#CC4C97 #97CC4C #4C97CC
tetradic
#CC4C97 #CCC14C #4CCC81 #4C57CC
square
#CC4C97 #CCC14C #4CCC81 #4C57CC
split-complementary
#CC4C97 #57CC4C #4CCCC1
monochromatic
#7B2356 #AA3178 #CC4C97 #DA7CB3 #E7ABCE

Accessibility & contrast

On white

4.16
#CC4C97 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#CC4C97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4C97
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4C97#FFFFFF#000000##000000
##CC4C971.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B6E99
Deuteranopia (green-blind)
#7F8494
Tritanopia (blue-blind)
#D9486B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cc4c97;
/* rgb */ color: rgb(204, 76, 151);
/* oklch */ color: oklch(61.1% 0.180 347.5);
Tailwind
colors: {
  custom: {
    50: '#df85b5',
    500: '#cc4c97',
    950: '#000000',
  },
}
SCSS
$custom: #cc4c97;
$custom-light: #df85b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4c97",
  "rgb": {
    "r": 204,
    "g": 76,
    "b": 151
  },
  "hsl": {
    "h": 324.844,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.61083,
    "c": 0.17997,
    "h": 347.5
  },
  "luminance": 0.20241
}

Semantic roles & 50–950 ramp

primary
#CC4C97
secondary
#9FD5B5
accent
#DF8749
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CC4C97

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

Preview Lab → · Contrast checker → · Palette generator →

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