#CC4CAC#CC4CAC

#CC4CAC is a mid, vivid pink. Relative luminance 0.210; OKLCH L 62.0% C 0.193 H 338.9°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#CC4CAC
RGBrgb(204, 76, 172)
HSLhsl(315, 56%, 55%)
HSVhsv(315, 63%, 80%)
CMYKcmyk(0%, 62.7%, 15.7%, 20%)
CIE-LABlab(52.94, 61.02, -25.84)
CIE-LCHlch(52.94, 66.26, 337.05°)
OKLaboklab(61.96% 0.1803 -0.0697)
OKLCHoklch(61.96% 0.193 338.9)
XYZxyz(34.9333, 20.9878, 41.2330)
Luminance0.2099 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4CAC #4CCC6C
analogous
#AC4CCC #CC4CAC #CC4C6C
triadic
#CC4CAC #ACCC4C #4CACCC
tetradic
#CC4CAC #CCAC4C #4CCC6C #4C6CCC
square
#CC4CAC #CCAC4C #4CCC6C #4C6CCC
split-complementary
#CC4CAC #6CCC4C #4CCCAC
monochromatic
#7B2365 #AA318C #CC4CAC #DA7CC2 #E7ABD8

Accessibility & contrast

On white

4.04
#CC4CAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#CC4CAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4CAC
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4CAC#FFFFFF#000000##000000
##CC4CAC1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5272AF
Deuteranopia (green-blind)
#7986A9
Tritanopia (blue-blind)
#D75075
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cc4cac;
/* rgb */ color: rgb(204, 76, 172);
/* oklch */ color: oklch(62.0% 0.193 338.9);
Tailwind
colors: {
  custom: {
    50: '#df86c5',
    500: '#cc4cac',
    950: '#000000',
  },
}
SCSS
$custom: #cc4cac;
$custom-light: #df86c5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4cac",
  "rgb": {
    "r": 204,
    "g": 76,
    "b": 172
  },
  "hsl": {
    "h": 315,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.61959,
    "c": 0.1933,
    "h": 338.9
  },
  "luminance": 0.20985
}

Semantic roles & 50–950 ramp

primary
#CC4CAC
secondary
#9FD5AC
accent
#DF6E49
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CC4CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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