#CC3378#CC3378

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

Color values

HEX#CC3378
RGBrgb(204, 51, 120)
HSLhsl(333, 60%, 50%)
HSVhsv(333, 75%, 80%)
CMYKcmyk(0%, 75%, 41.2%, 20%)
CIE-LABlab(47.71, 63.85, -2.72)
CIE-LCHlch(47.71, 63.91, 357.56°)
OKLaboklab(57.5% 0.1961 -0.0063)
OKLCHoklch(57.5% 0.196 358.1)
XYZxyz(29.4780, 16.5649, 19.4107)
Luminance0.1656 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3378 #33CC87
analogous
#CC33C5 #CC3378 #CC3A33
triadic
#CC3378 #78CC33 #3378CC
tetradic
#CC3378 #C5CC33 #33CC87 #3A33CC
square
#CC3378 #C5CC33 #33CC87 #3A33CC
split-complementary
#CC3378 #33CC3A #33C5CC
monochromatic
#6A1B3E #9B275B #CC3378 #D86498 #E495B9

Accessibility & contrast

On white

4.87
#CC3378 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #CC3378
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3378#FFFFFF#000000##FFFFFF
##CC33781.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc3378;
/* rgb */ color: rgb(204, 51, 120);
/* oklch */ color: oklch(57.5% 0.196 358.1);
Tailwind
colors: {
  custom: {
    50: '#e1799e',
    500: '#cc3378',
    950: '#000000',
  },
}
SCSS
$custom: #cc3378;
$custom-light: #e1799e;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3378",
  "rgb": {
    "r": 204,
    "g": 51,
    "b": 120
  },
  "hsl": {
    "h": 332.941,
    "s": 60,
    "l": 50
  },
  "oklch": {
    "l": 0.57498,
    "c": 0.19623,
    "h": 358.1
  },
  "luminance": 0.16561
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC3378

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

Preview Lab → · Contrast checker → · Palette generator →

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