#CC3881#CC3881

#CC3881 is a mid, vivid pink. Relative luminance 0.173; OKLCH L 58.2% C 0.194 H 354.9°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#CC3881
RGBrgb(204, 56, 129)
HSLhsl(330, 59%, 51%)
HSVhsv(330, 73%, 80%)
CMYKcmyk(0%, 72.5%, 36.8%, 20%)
CIE-LABlab(48.58, 63.13, -6.90)
CIE-LCHlch(48.58, 63.51, 353.76°)
OKLaboklab(58.23% 0.1936 -0.0174)
OKLCHoklch(58.23% 0.194 354.9)
XYZxyz(30.2804, 17.2544, 22.5005)
Luminance0.1725 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3881 #38CC83
analogous
#CC38CB #CC3881 #CC3938
triadic
#CC3881 #81CC38 #3881CC
tetradic
#CC3881 #CBCC38 #38CC83 #3938CC
square
#CC3881 #CBCC38 #38CC83 #3938CC
split-complementary
#CC3881 #38CC39 #38CBCC
monochromatic
#6E1C44 #9E2963 #CC3881 #D869A0 #E599BF

Accessibility & contrast

On white

4.72
#CC3881 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#CC3881 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC3881
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3881#FFFFFF#000000##FFFFFF
##CC38811.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546283
Deuteranopia (green-blind)
#7D7D7E
Tritanopia (blue-blind)
#DC2958
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cc3881;
/* rgb */ color: rgb(204, 56, 129);
/* oklch */ color: oklch(58.2% 0.194 354.9);
Tailwind
colors: {
  custom: {
    50: '#e07ba5',
    500: '#cc3881',
    950: '#000000',
  },
}
SCSS
$custom: #cc3881;
$custom-light: #e07ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3881",
  "rgb": {
    "r": 204,
    "g": 56,
    "b": 129
  },
  "hsl": {
    "h": 330.405,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58232,
    "c": 0.19442,
    "h": 354.9
  },
  "luminance": 0.17251
}

Semantic roles & 50–950 ramp

primary
#CC3881
secondary
#8FD1B0
accent
#E29545
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #CC3881

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

Preview Lab → · Contrast checker → · Palette generator →

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