#CC4CAF#CC4CAF

#CC4CAF is a light, vivid pink. Relative luminance 0.211; OKLCH L 62.1% C 0.195 H 337.7°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#CC4CAF
RGBrgb(204, 76, 175)
HSLhsl(314, 56%, 55%)
HSVhsv(314, 63%, 80%)
CMYKcmyk(0%, 62.7%, 14.2%, 20%)
CIE-LABlab(53.06, 61.46, -27.39)
CIE-LCHlch(53.06, 67.29, 335.98°)
OKLaboklab(62.09% 0.1808 -0.0741)
OKLCHoklch(62.09% 0.195 337.7)
XYZxyz(35.2247, 21.1044, 42.7675)
Luminance0.2110 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4CAF #4CCC69
analogous
#A94CCC #CC4CAF #CC4C6F
triadic
#CC4CAF #AFCC4C #4CAFCC
tetradic
#CC4CAF #CCA94C #4CCC69 #4C6FCC
square
#CC4CAF #CCA94C #4CCC69 #4C6FCC
split-complementary
#CC4CAF #6FCC4C #4CCCA9
monochromatic
#7B2367 #AA318F #CC4CAF #DA7CC4 #E7ABDA

Accessibility & contrast

On white

4.02
#CC4CAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#CC4CAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4CAF
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4CAF#FFFFFF#000000##000000
##CC4CAF1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5072B2
Deuteranopia (green-blind)
#7886AC
Tritanopia (blue-blind)
#D65177
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cc4caf;
/* rgb */ color: rgb(204, 76, 175);
/* oklch */ color: oklch(62.1% 0.195 337.7);
Tailwind
colors: {
  custom: {
    50: '#df86c7',
    500: '#cc4caf',
    950: '#000000',
  },
}
SCSS
$custom: #cc4caf;
$custom-light: #df86c7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4caf",
  "rgb": {
    "r": 204,
    "g": 76,
    "b": 175
  },
  "hsl": {
    "h": 313.594,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.62093,
    "c": 0.19541,
    "h": 337.7
  },
  "luminance": 0.21101
}

Semantic roles & 50–950 ramp

primary
#CC4CAF
secondary
#9FD5AB
accent
#DF6B49
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CC4CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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