#CC3381#CC3381

#CC3381 is a mid, vivid pink. Relative luminance 0.168; OKLCH L 57.8% C 0.200 H 354.3°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#CC3381
RGBrgb(204, 51, 129)
HSLhsl(329, 60%, 50%)
HSVhsv(329, 75%, 80%)
CMYKcmyk(0%, 75%, 36.8%, 20%)
CIE-LABlab(48.00, 64.76, -7.76)
CIE-LCHlch(48.00, 65.23, 353.16°)
OKLaboklab(57.81% 0.1988 -0.0197)
OKLCHoklch(57.81% 0.2 354.3)
XYZxyz(30.0501, 16.7937, 22.4237)
Luminance0.1679 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3381 #33CC7E
analogous
#CB33CC #CC3381 #CC3334
triadic
#CC3381 #81CC33 #3381CC
tetradic
#CC3381 #CCCB33 #33CC7E #3334CC
square
#CC3381 #CCCB33 #33CC7E #3334CC
split-complementary
#CC3381 #34CC33 #33CCCB
monochromatic
#6A1B43 #9B2762 #CC3381 #D8649F #E495BD

Accessibility & contrast

On white

4.82
#CC3381 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#CC3381 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC3381
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3381#FFFFFF#000000##FFFFFF
##CC33811.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516083
Deuteranopia (green-blind)
#7C7C7E
Tritanopia (blue-blind)
#DC2256
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #cc3381;
/* rgb */ color: rgb(204, 51, 129);
/* oklch */ color: oklch(57.8% 0.200 354.3);
Tailwind
colors: {
  custom: {
    50: '#e179a5',
    500: '#cc3381',
    950: '#000000',
  },
}
SCSS
$custom: #cc3381;
$custom-light: #e179a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3381",
  "rgb": {
    "r": 204,
    "g": 51,
    "b": 129
  },
  "hsl": {
    "h": 329.412,
    "s": 60,
    "l": 50
  },
  "oklch": {
    "l": 0.57807,
    "c": 0.19978,
    "h": 354.3
  },
  "luminance": 0.1679
}

Semantic roles & 50–950 ramp

primary
#CC3381
secondary
#8BD0AD
accent
#E39245
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #CC3381

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

Preview Lab → · Contrast checker → · Palette generator →

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