#CC3387#CC3387

#CC3387 is a mid, highly saturated pink. Relative luminance 0.170; OKLCH L 58.0% C 0.202 H 351.9°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#CC3387
RGBrgb(204, 51, 135)
HSLhsl(327, 60%, 50%)
HSVhsv(327, 75%, 80%)
CMYKcmyk(0%, 75%, 33.8%, 20%)
CIE-LABlab(48.21, 65.41, -11.09)
CIE-LCHlch(48.21, 66.35, 350.38°)
OKLaboklab(58.03% 0.2004 -0.0286)
OKLCHoklch(58.03% 0.202 351.9)
XYZxyz(30.4607, 16.9579, 24.5861)
Luminance0.1695 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3387 #33CC78
analogous
#C533CC #CC3387 #CC333A
triadic
#CC3387 #87CC33 #3387CC
tetradic
#CC3387 #CCC533 #33CC78 #333ACC
square
#CC3387 #CCC533 #33CC78 #333ACC
split-complementary
#CC3387 #3ACC33 #33CCC5
monochromatic
#6A1B46 #9B2767 #CC3387 #D864A4 #E495C1

Accessibility & contrast

On white

4.78
#CC3387 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#CC3387 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC3387
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3387#FFFFFF#000000##FFFFFF
##CC33871.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6189
Deuteranopia (green-blind)
#7A7C84
Tritanopia (blue-blind)
#DC2659
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #cc3387;
/* rgb */ color: rgb(204, 51, 135);
/* oklch */ color: oklch(58.0% 0.202 351.9);
Tailwind
colors: {
  custom: {
    50: '#e079aa',
    500: '#cc3387',
    950: '#000000',
  },
}
SCSS
$custom: #cc3387;
$custom-light: #e079aa;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3387",
  "rgb": {
    "r": 204,
    "g": 51,
    "b": 135
  },
  "hsl": {
    "h": 327.059,
    "s": 60,
    "l": 50
  },
  "oklch": {
    "l": 0.58028,
    "c": 0.20248,
    "h": 351.9
  },
  "luminance": 0.16954
}

Semantic roles & 50–950 ramp

primary
#CC3387
secondary
#8BD0AA
accent
#E38C45
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#160A10
muted
#847C7F

Preview Lab

Preview with #CC3387

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

Preview Lab → · Contrast checker → · Palette generator →

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