#CC3987#CC3987

#CC3987 is a mid, vivid pink. Relative luminance 0.175; OKLCH L 58.5% C 0.196 H 352.4°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#CC3987
RGBrgb(204, 57, 135)
HSLhsl(328, 59%, 51%)
HSVhsv(328, 72%, 80%)
CMYKcmyk(0%, 72.1%, 33.8%, 20%)
CIE-LABlab(48.90, 63.45, -10.04)
CIE-LCHlch(48.90, 64.24, 351.01°)
OKLaboklab(58.54% 0.1942 -0.0258)
OKLCHoklch(58.54% 0.196 352.4)
XYZxyz(30.7399, 17.5165, 24.6792)
Luminance0.1751 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3987 #39CC7E
analogous
#C739CC #CC3987 #CC393D
triadic
#CC3987 #87CC39 #3987CC
tetradic
#CC3987 #CCC739 #39CC7E #393DCC
square
#CC3987 #CCC739 #39CC7E #393DCC
split-complementary
#CC3987 #3DCC39 #39CCC7
monochromatic
#6E1C48 #9F2968 #CC3987 #D96AA4 #E59AC2

Accessibility & contrast

On white

4.66
#CC3987 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#CC3987 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CC3987
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3987#FFFFFF#000000##FFFFFF
##CC39871.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526389
Deuteranopia (green-blind)
#7C7E84
Tritanopia (blue-blind)
#DB2D5B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #cc3987;
/* rgb */ color: rgb(204, 57, 135);
/* oklch */ color: oklch(58.5% 0.196 352.4);
Tailwind
colors: {
  custom: {
    50: '#e07caa',
    500: '#cc3987',
    950: '#000000',
  },
}
SCSS
$custom: #cc3987;
$custom-light: #e07caa;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3987",
  "rgb": {
    "r": 204,
    "g": 57,
    "b": 135
  },
  "hsl": {
    "h": 328.163,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58538,
    "c": 0.19595,
    "h": 352.4
  },
  "luminance": 0.17513
}

Semantic roles & 50–950 ramp

primary
#CC3987
secondary
#90D1AE
accent
#E28F46
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160A10
muted
#847C7F

Preview Lab

Preview with #CC3987

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

Preview Lab → · Contrast checker → · Palette generator →

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