#CC4CA6#CC4CA6

#CC4CA6 is a mid, vivid pink. Relative luminance 0.208; OKLCH L 61.7% C 0.189 H 341.2°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#CC4CA6
RGBrgb(204, 76, 166)
HSLhsl(318, 56%, 55%)
HSVhsv(318, 63%, 80%)
CMYKcmyk(0%, 62.7%, 18.6%, 20%)
CIE-LABlab(52.69, 60.15, -22.71)
CIE-LCHlch(52.69, 64.29, 339.31°)
OKLaboklab(61.7% 0.1791 -0.0609)
OKLCHoklch(61.7% 0.189 341.2)
XYZxyz(34.3701, 20.7625, 38.2664)
Luminance0.2076 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4CA6 #4CCC72
analogous
#B24CCC #CC4CA6 #CC4C66
triadic
#CC4CA6 #A6CC4C #4CA6CC
tetradic
#CC4CA6 #CCB24C #4CCC72 #4C66CC
square
#CC4CA6 #CCB24C #4CCC72 #4C66CC
split-complementary
#CC4CA6 #66CC4C #4CCCB2
monochromatic
#7B2361 #AA3186 #CC4CA6 #DA7CBE #E7ABD5

Accessibility & contrast

On white

4.08
#CC4CA6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#CC4CA6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4CA6
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4CA6#FFFFFF#000000##000000
##CC4CA61.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5571A9
Deuteranopia (green-blind)
#7B85A3
Tritanopia (blue-blind)
#D84E72
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cc4ca6;
/* rgb */ color: rgb(204, 76, 166);
/* oklch */ color: oklch(61.7% 0.189 341.2);
Tailwind
colors: {
  custom: {
    50: '#df86c0',
    500: '#cc4ca6',
    950: '#000000',
  },
}
SCSS
$custom: #cc4ca6;
$custom-light: #df86c0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4ca6",
  "rgb": {
    "r": 204,
    "g": 76,
    "b": 166
  },
  "hsl": {
    "h": 317.813,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.61696,
    "c": 0.18922,
    "h": 341.2
  },
  "luminance": 0.20759
}

Semantic roles & 50–950 ramp

primary
#CC4CA6
secondary
#9FD5AF
accent
#DF7549
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CC4CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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