#CC3C87#CC3C87

#CC3C87 is a mid, vivid pink. Relative luminance 0.178; OKLCH L 58.8% C 0.192 H 352.7°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#CC3C87
RGBrgb(204, 60, 135)
HSLhsl(329, 59%, 52%)
HSVhsv(329, 71%, 80%)
CMYKcmyk(0%, 70.6%, 33.8%, 20%)
CIE-LABlab(49.28, 62.40, -9.48)
CIE-LCHlch(49.28, 63.11, 351.37°)
OKLaboklab(58.81% 0.1909 -0.0243)
OKLCHoklch(58.81% 0.192 352.7)
XYZxyz(30.8927, 17.8219, 24.7301)
Luminance0.1782 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3C87 #3CCC81
analogous
#C93CCC #CC3C87 #CC3C3F
triadic
#CC3C87 #87CC3C #3C87CC
tetradic
#CC3C87 #CCC93C #3CCC81 #3C3FCC
square
#CC3C87 #CCC93C #3CCC81 #3C3FCC
split-complementary
#CC3C87 #3FCC3C #3CCCC9
monochromatic
#701D49 #A12A68 #CC3C87 #D96DA5 #E59DC3

Accessibility & contrast

On white

4.60
#CC3C87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#CC3C87 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CC3C87
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3C87#FFFFFF#000000##FFFFFF
##CC3C871.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556489
Deuteranopia (green-blind)
#7D7F84
Tritanopia (blue-blind)
#DB315C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cc3c87;
/* rgb */ color: rgb(204, 60, 135);
/* oklch */ color: oklch(58.8% 0.192 352.7);
Tailwind
colors: {
  custom: {
    50: '#e07daa',
    500: '#cc3c87',
    950: '#000000',
  },
}
SCSS
$custom: #cc3c87;
$custom-light: #e07daa;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3c87",
  "rgb": {
    "r": 204,
    "g": 60,
    "b": 135
  },
  "hsl": {
    "h": 328.75,
    "s": 58.537,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58813,
    "c": 0.19249,
    "h": 352.7
  },
  "luminance": 0.17818
}

Semantic roles & 50–950 ramp

primary
#CC3C87
secondary
#92D1B1
accent
#E29146
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CC3C87

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

Preview Lab → · Contrast checker → · Palette generator →

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