#CC3986#CC3986

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

Color values

HEX#CC3986
RGBrgb(204, 57, 134)
HSLhsl(329, 59%, 51%)
HSVhsv(329, 72%, 80%)
CMYKcmyk(0%, 72.1%, 34.3%, 20%)
CIE-LABlab(48.87, 63.34, -9.49)
CIE-LCHlch(48.87, 64.04, 351.48°)
OKLaboklab(58.5% 0.194 -0.0243)
OKLCHoklch(58.5% 0.195 352.8)
XYZxyz(30.6699, 17.4885, 24.3101)
Luminance0.1749 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3986 #39CC7F
analogous
#C839CC #CC3986 #CC393C
triadic
#CC3986 #86CC39 #3986CC
tetradic
#CC3986 #CCC839 #39CC7F #393CCC
square
#CC3986 #CCC839 #39CC7F #393CCC
split-complementary
#CC3986 #3CCC39 #39CCC8
monochromatic
#6E1C47 #9F2967 #CC3986 #D96AA4 #E59AC1

Accessibility & contrast

On white

4.67
#CC3986 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #CC3986
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3986#FFFFFF#000000##FFFFFF
##CC39861.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536388
Deuteranopia (green-blind)
#7C7E83
Tritanopia (blue-blind)
#DC2D5B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #cc3986;
/* rgb */ color: rgb(204, 57, 134);
/* oklch */ color: oklch(58.5% 0.195 352.8);
Tailwind
colors: {
  custom: {
    50: '#e07ca9',
    500: '#cc3986',
    950: '#000000',
  },
}
SCSS
$custom: #cc3986;
$custom-light: #e07ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3986",
  "rgb": {
    "r": 204,
    "g": 57,
    "b": 134
  },
  "hsl": {
    "h": 328.571,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58501,
    "c": 0.19549,
    "h": 352.8
  },
  "luminance": 0.17485
}

Semantic roles & 50–950 ramp

primary
#CC3986
secondary
#90D1AF
accent
#E29046
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #CC3986

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

Preview Lab → · Contrast checker → · Palette generator →

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