#CC3687#CC3687

#CC3687 is a mid, vivid pink. Relative luminance 0.172; OKLCH L 58.3% C 0.199 H 352.1°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#CC3687
RGBrgb(204, 54, 135)
HSLhsl(328, 60%, 51%)
HSVhsv(328, 74%, 80%)
CMYKcmyk(0%, 73.5%, 33.8%, 20%)
CIE-LABlab(48.55, 64.45, -10.58)
CIE-LCHlch(48.55, 65.31, 350.68°)
OKLaboklab(58.28% 0.1974 -0.0273)
OKLCHoklch(58.28% 0.199 352.1)
XYZxyz(30.5960, 17.2286, 24.6312)
Luminance0.1722 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3687 #36CC7B
analogous
#C636CC #CC3687 #CC363C
triadic
#CC3687 #87CC36 #3687CC
tetradic
#CC3687 #CCC636 #36CC7B #363CCC
square
#CC3687 #CCC636 #36CC7B #363CCC
split-complementary
#CC3687 #3CCC36 #36CCC6
monochromatic
#6C1B47 #9D2867 #CC3687 #D867A4 #E598C1

Accessibility & contrast

On white

4.72
#CC3687 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#CC3687 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC3687
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3687#FFFFFF#000000##FFFFFF
##CC36871.004.724.444.72
#FFFFFF4.721.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506289
Deuteranopia (green-blind)
#7B7D84
Tritanopia (blue-blind)
#DB2A5A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cc3687;
/* rgb */ color: rgb(204, 54, 135);
/* oklch */ color: oklch(58.3% 0.199 352.1);
Tailwind
colors: {
  custom: {
    50: '#e07aaa',
    500: '#cc3687',
    950: '#000000',
  },
}
SCSS
$custom: #cc3687;
$custom-light: #e07aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3687",
  "rgb": {
    "r": 204,
    "g": 54,
    "b": 135
  },
  "hsl": {
    "h": 327.6,
    "s": 59.524,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58276,
    "c": 0.19928,
    "h": 352.1
  },
  "luminance": 0.17225
}

Semantic roles & 50–950 ramp

primary
#CC3687
secondary
#8ED0AC
accent
#E38E45
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#160A10
muted
#847C7F

Preview Lab

Preview with #CC3687

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

Preview Lab → · Contrast checker → · Palette generator →

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