#CC3989#CC3989

#CC3989 is a mid, vivid pink. Relative luminance 0.176; OKLCH L 58.6% C 0.197 H 351.6°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#CC3989
RGBrgb(204, 57, 137)
HSLhsl(327, 59%, 51%)
HSVhsv(327, 72%, 80%)
CMYKcmyk(0%, 72.1%, 32.8%, 20%)
CIE-LABlab(48.97, 63.67, -11.14)
CIE-LCHlch(48.97, 64.64, 350.08°)
OKLaboklab(58.61% 0.1948 -0.0288)
OKLCHoklch(58.61% 0.197 351.6)
XYZxyz(30.8821, 17.5733, 25.4278)
Luminance0.1757 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3989 #39CC7C
analogous
#C539CC #CC3989 #CC393F
triadic
#CC3989 #89CC39 #3989CC
tetradic
#CC3989 #CCC539 #39CC7C #393FCC
square
#CC3989 #CCC539 #39CC7C #393FCC
split-complementary
#CC3989 #3FCC39 #39CCC5
monochromatic
#6E1C49 #9F2969 #CC3989 #D96AA6 #E59AC3

Accessibility & contrast

On white

4.65
#CC3989 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #CC3989
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3989#FFFFFF#000000##FFFFFF
##CC39891.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52648B
Deuteranopia (green-blind)
#7C7E86
Tritanopia (blue-blind)
#DB2E5C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #cc3989;
/* rgb */ color: rgb(204, 57, 137);
/* oklch */ color: oklch(58.6% 0.197 351.6);
Tailwind
colors: {
  custom: {
    50: '#e07cab',
    500: '#cc3989',
    950: '#000000',
  },
}
SCSS
$custom: #cc3989;
$custom-light: #e07cab;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3989",
  "rgb": {
    "r": 204,
    "g": 57,
    "b": 137
  },
  "hsl": {
    "h": 327.347,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58612,
    "c": 0.1969,
    "h": 351.6
  },
  "luminance": 0.1757
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC3989

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

Preview Lab → · Contrast checker → · Palette generator →

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