#CC3377#CC3377

#CC3377 is a mid, vivid pink. Relative luminance 0.165; OKLCH L 57.5% C 0.196 H 358.6°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#CC3377
RGBrgb(204, 51, 119)
HSLhsl(333, 60%, 50%)
HSVhsv(333, 75%, 80%)
CMYKcmyk(0%, 75%, 41.7%, 20%)
CIE-LABlab(47.68, 63.75, -2.16)
CIE-LCHlch(47.68, 63.79, 358.06°)
OKLaboklab(57.47% 0.1958 -0.0049)
OKLCHoklch(57.47% 0.196 358.6)
XYZxyz(29.4176, 16.5407, 19.0928)
Luminance0.1654 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3377 #33CC88
analogous
#CC33C4 #CC3377 #CC3B33
triadic
#CC3377 #77CC33 #3377CC
tetradic
#CC3377 #C4CC33 #33CC88 #3B33CC
square
#CC3377 #C4CC33 #33CC88 #3B33CC
split-complementary
#CC3377 #33CC3B #33C4CC
monochromatic
#6A1B3E #9B275A #CC3377 #D86498 #E495B8

Accessibility & contrast

On white

4.88
#CC3377 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#CC3377 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC3377
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3377#FFFFFF#000000##FFFFFF
##CC33771.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545F79
Deuteranopia (green-blind)
#7E7C73
Tritanopia (blue-blind)
#DD1B51
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #cc3377;
/* rgb */ color: rgb(204, 51, 119);
/* oklch */ color: oklch(57.5% 0.196 358.6);
Tailwind
colors: {
  custom: {
    50: '#e1799e',
    500: '#cc3377',
    950: '#000000',
  },
}
SCSS
$custom: #cc3377;
$custom-light: #e1799e;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3377",
  "rgb": {
    "r": 204,
    "g": 51,
    "b": 119
  },
  "hsl": {
    "h": 333.333,
    "s": 60,
    "l": 50
  },
  "oklch": {
    "l": 0.57465,
    "c": 0.19587,
    "h": 358.6
  },
  "luminance": 0.16537
}

Semantic roles & 50–950 ramp

primary
#CC3377
secondary
#8BD0B1
accent
#E39D45
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CC3377

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

Preview Lab → · Contrast checker → · Palette generator →

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