#CC3CA6#CC3CA6

#CC3CA6 is a mid, highly saturated pink. Relative luminance 0.188; OKLCH L 60.1% C 0.210 H 340.4°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#CC3CA6
RGBrgb(204, 60, 166)
HSLhsl(316, 59%, 52%)
HSVhsv(316, 71%, 80%)
CMYKcmyk(0%, 70.6%, 18.6%, 20%)
CIE-LABlab(50.48, 66.28, -26.12)
CIE-LCHlch(50.48, 71.24, 338.49°)
OKLaboklab(60.09% 0.1977 -0.0704)
OKLCHoklch(60.09% 0.21 340.4)
XYZxyz(33.4015, 18.8255, 37.9436)
Luminance0.1882 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3CA6 #3CCC62
analogous
#AA3CCC #CC3CA6 #CC3C5E
triadic
#CC3CA6 #A6CC3C #3CA6CC
tetradic
#CC3CA6 #CCAA3C #3CCC62 #3C5ECC
square
#CC3CA6 #CCAA3C #3CCC62 #3C5ECC
split-complementary
#CC3CA6 #5ECC3C #3CCCAA
monochromatic
#701D5A #A12A81 #CC3CA6 #D96DBC #E59DD2

Accessibility & contrast

On white

4.41
#CC3CA6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#CC3CA6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3CA6
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3CA6#FFFFFF#000000##000000
##CC3CA61.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4669A9
Deuteranopia (green-blind)
#7480A3
Tritanopia (blue-blind)
#D8406C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cc3ca6;
/* rgb */ color: rgb(204, 60, 166);
/* oklch */ color: oklch(60.1% 0.210 340.4);
Tailwind
colors: {
  custom: {
    50: '#df7ec0',
    500: '#cc3ca6',
    950: '#000000',
  },
}
SCSS
$custom: #cc3ca6;
$custom-light: #df7ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3ca6",
  "rgb": {
    "r": 204,
    "g": 60,
    "b": 166
  },
  "hsl": {
    "h": 315.833,
    "s": 58.537,
    "l": 51.765
  },
  "oklch": {
    "l": 0.60085,
    "c": 0.20984,
    "h": 340.4
  },
  "luminance": 0.18822
}

Semantic roles & 50–950 ramp

primary
#CC3CA6
secondary
#92D1A3
accent
#E26F46
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CC3CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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