#CC3988#CC3988

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

Color values

HEX#CC3988
RGBrgb(204, 57, 136)
HSLhsl(328, 59%, 51%)
HSVhsv(328, 72%, 80%)
CMYKcmyk(0%, 72.1%, 33.3%, 20%)
CIE-LABlab(48.94, 63.56, -10.59)
CIE-LCHlch(48.94, 64.44, 350.54°)
OKLaboklab(58.58% 0.1945 -0.0273)
OKLCHoklch(58.58% 0.196 352)
XYZxyz(30.8107, 17.5448, 25.0517)
Luminance0.1754 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3988 #39CC7D
analogous
#C639CC #CC3988 #CC393E
triadic
#CC3988 #88CC39 #3988CC
tetradic
#CC3988 #CCC639 #39CC7D #393ECC
square
#CC3988 #CCC639 #39CC7D #393ECC
split-complementary
#CC3988 #3ECC39 #39CCC6
monochromatic
#6E1C48 #9F2968 #CC3988 #D96AA5 #E59AC2

Accessibility & contrast

On white

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

On black

4.51
#CC3988 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##CC3988#FFFFFF#000000##FFFFFF
##CC39881.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52638A
Deuteranopia (green-blind)
#7C7E85
Tritanopia (blue-blind)
#DB2E5C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #cc3988;
/* rgb */ color: rgb(204, 57, 136);
/* oklch */ color: oklch(58.6% 0.196 352.0);
Tailwind
colors: {
  custom: {
    50: '#e07caa',
    500: '#cc3988',
    950: '#000000',
  },
}
SCSS
$custom: #cc3988;
$custom-light: #e07caa;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3988",
  "rgb": {
    "r": 204,
    "g": 57,
    "b": 136
  },
  "hsl": {
    "h": 327.755,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58575,
    "c": 0.19642,
    "h": 352
  },
  "luminance": 0.17541
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC3988

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

Preview Lab → · Contrast checker → · Palette generator →

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