#CC4C7E#CC4C7E

#CC4C7E is a mid, vivid pink. Relative luminance 0.195; OKLCH L 60.2% C 0.168 H 359.3°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#CC4C7E
RGBrgb(204, 76, 126)
HSLhsl(337, 56%, 55%)
HSVhsv(337, 63%, 80%)
CMYKcmyk(0%, 62.7%, 38.2%, 20%)
CIE-LABlab(51.29, 55.09, -1.09)
CIE-LCHlch(51.29, 55.10, 358.86°)
OKLaboklab(60.2% 0.1683 -0.0022)
OKLCHoklch(60.2% 0.168 359.3)
XYZxyz(31.2541, 19.5161, 21.8557)
Luminance0.1951 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4C7E #4CCC9A
analogous
#CC4CBE #CC4C7E #CC5A4C
triadic
#CC4C7E #7ECC4C #4C7ECC
tetradic
#CC4C7E #BECC4C #4CCC9A #5A4CCC
square
#CC4C7E #BECC4C #4CCC9A #5A4CCC
split-complementary
#CC4C7E #4CCC5A #4CBECC
monochromatic
#7B2345 #AA3160 #CC4C7E #DA7CA0 #E7ABC3

Accessibility & contrast

On white

4.28
#CC4C7E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#CC4C7E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4C7E
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4C7E#FFFFFF#000000##000000
##CC4C7E1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#636B7F
Deuteranopia (green-blind)
#85837B
Tritanopia (blue-blind)
#DC4060
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cc4c7e;
/* rgb */ color: rgb(204, 76, 126);
/* oklch */ color: oklch(60.2% 0.168 359.3);
Tailwind
colors: {
  custom: {
    50: '#e085a3',
    500: '#cc4c7e',
    950: '#000000',
  },
}
SCSS
$custom: #cc4c7e;
$custom-light: #e085a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4c7e",
  "rgb": {
    "r": 204,
    "g": 76,
    "b": 126
  },
  "hsl": {
    "h": 336.563,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.602,
    "c": 0.16834,
    "h": 359.3
  },
  "luminance": 0.19513
}

Semantic roles & 50–950 ramp

primary
#CC4C7E
secondary
#9FD5C0
accent
#DFA449
background
#FEF8FA
surface
#FCF0F3
border
#D5CBCD
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #CC4C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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