#CC3CA7#CC3CA7

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

Color values

HEX#CC3CA7
RGBrgb(204, 60, 167)
HSLhsl(315, 59%, 52%)
HSVhsv(315, 71%, 80%)
CMYKcmyk(0%, 70.6%, 18.1%, 20%)
CIE-LABlab(50.53, 66.42, -26.64)
CIE-LCHlch(50.53, 71.56, 338.14°)
OKLaboklab(60.13% 0.1978 -0.0719)
OKLCHoklch(60.13% 0.21 340)
XYZxyz(33.4936, 18.8623, 38.4286)
Luminance0.1886 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3CA7 #3CCC61
analogous
#A93CCC #CC3CA7 #CC3C5F
triadic
#CC3CA7 #A7CC3C #3CA7CC
tetradic
#CC3CA7 #CCA93C #3CCC61 #3C5FCC
square
#CC3CA7 #CCA93C #3CCC61 #3C5FCC
split-complementary
#CC3CA7 #5FCC3C #3CCCA9
monochromatic
#701D5B #A12A82 #CC3CA7 #D96DBD #E59DD3

Accessibility & contrast

On white

4.40
#CC3CA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#CC3CA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3CA7
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3CA7#FFFFFF#000000##000000
##CC3CA71.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#456AAA
Deuteranopia (green-blind)
#7381A4
Tritanopia (blue-blind)
#D8406D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cc3ca7;
/* rgb */ color: rgb(204, 60, 167);
/* oklch */ color: oklch(60.1% 0.210 340.0);
Tailwind
colors: {
  custom: {
    50: '#df7ec1',
    500: '#cc3ca7',
    950: '#000000',
  },
}
SCSS
$custom: #cc3ca7;
$custom-light: #df7ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3ca7",
  "rgb": {
    "r": 204,
    "g": 60,
    "b": 167
  },
  "hsl": {
    "h": 315.417,
    "s": 58.537,
    "l": 51.765
  },
  "oklch": {
    "l": 0.60131,
    "c": 0.21048,
    "h": 340
  },
  "luminance": 0.18859
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC3CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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