#CC3366#CC3366

#CC3366 is a mid, vivid pink. Relative luminance 0.162; OKLCH L 57.0% C 0.191 H 5.9°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#CC3366
RGBrgb(204, 51, 102)
HSLhsl(340, 60%, 50%)
HSVhsv(340, 75%, 80%)
CMYKcmyk(0%, 75%, 50%, 20%)
CIE-LABlab(47.19, 62.22, 7.56)
CIE-LCHlch(47.19, 62.68, 6.93°)
OKLaboklab(56.95% 0.19 0.0198)
OKLCHoklch(56.95% 0.191 5.9)
XYZxyz(28.4864, 16.1682, 14.1885)
Luminance0.1616 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3366 #33CC99
analogous
#CC33B2 #CC3366 #CC4C33
triadic
#CC3366 #66CC33 #3366CC
tetradic
#CC3366 #B2CC33 #33CC99 #4C33CC
square
#CC3366 #B2CC33 #33CC99 #4C33CC
split-complementary
#CC3366 #33CC4D #33B2CC
monochromatic
#6A1B35 #9B274E #CC3366 #D8648B #E495AF

Accessibility & contrast

On white

4.96
#CC3366 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#CC3366 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC3366
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3366#FFFFFF#000000##FFFFFF
##CC33661.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595D67
Deuteranopia (green-blind)
#817B62
Tritanopia (blue-blind)
#DE0A49
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #cc3366;
/* rgb */ color: rgb(204, 51, 102);
/* oklch */ color: oklch(57.0% 0.191 5.9);
Tailwind
colors: {
  custom: {
    50: '#e27891',
    500: '#cc3366',
    950: '#000000',
  },
}
SCSS
$custom: #cc3366;
$custom-light: #e27891;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3366",
  "rgb": {
    "r": 204,
    "g": 51,
    "b": 102
  },
  "hsl": {
    "h": 340,
    "s": 60,
    "l": 50
  },
  "oklch": {
    "l": 0.56953,
    "c": 0.19105,
    "h": 5.9
  },
  "luminance": 0.16164
}

Semantic roles & 50–950 ramp

primary
#CC3366
secondary
#8BD0B9
accent
#E3AE45
background
#FEF7F8
surface
#FDEEF0
border
#D5C9CB
text
#170A0C
muted
#857C7D

Preview Lab

Preview with #CC3366

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

Preview Lab → · Contrast checker → · Palette generator →

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