#CC3386#CC3386

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

Color values

HEX#CC3386
RGBrgb(204, 51, 134)
HSLhsl(327, 60%, 50%)
HSVhsv(327, 75%, 80%)
CMYKcmyk(0%, 75%, 34.3%, 20%)
CIE-LABlab(48.17, 65.30, -10.54)
CIE-LCHlch(48.17, 66.15, 350.84°)
OKLaboklab(57.99% 0.2002 -0.0271)
OKLCHoklch(57.99% 0.202 352.3)
XYZxyz(30.3906, 16.9299, 24.2170)
Luminance0.1693 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3386 #33CC79
analogous
#C633CC #CC3386 #CC3339
triadic
#CC3386 #86CC33 #3386CC
tetradic
#CC3386 #CCC633 #33CC79 #3339CC
square
#CC3386 #CCC633 #33CC79 #3339CC
split-complementary
#CC3386 #39CC33 #33CCC6
monochromatic
#6A1B46 #9B2766 #CC3386 #D864A3 #E495C0

Accessibility & contrast

On white

4.79
#CC3386 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #CC3386
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3386#FFFFFF#000000##FFFFFF
##CC33861.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6188
Deuteranopia (green-blind)
#7A7C83
Tritanopia (blue-blind)
#DC2558
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #cc3386;
/* rgb */ color: rgb(204, 51, 134);
/* oklch */ color: oklch(58.0% 0.202 352.3);
Tailwind
colors: {
  custom: {
    50: '#e079a9',
    500: '#cc3386',
    950: '#000000',
  },
}
SCSS
$custom: #cc3386;
$custom-light: #e079a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3386",
  "rgb": {
    "r": 204,
    "g": 51,
    "b": 134
  },
  "hsl": {
    "h": 327.451,
    "s": 60,
    "l": 50
  },
  "oklch": {
    "l": 0.5799,
    "c": 0.202,
    "h": 352.3
  },
  "luminance": 0.16926
}

Semantic roles & 50–950 ramp

primary
#CC3386
secondary
#8BD0AA
accent
#E38D45
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #CC3386

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

Preview Lab → · Contrast checker → · Palette generator →

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