#CC3878#CC3878

#CC3878 is a mid, vivid pink. Relative luminance 0.170; OKLCH L 57.9% C 0.191 H 358.8°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#CC3878
RGBrgb(204, 56, 120)
HSLhsl(334, 59%, 51%)
HSVhsv(334, 73%, 80%)
CMYKcmyk(0%, 72.5%, 41.2%, 20%)
CIE-LABlab(48.29, 62.20, -1.86)
CIE-LCHlch(48.29, 62.23, 358.29°)
OKLaboklab(57.93% 0.1909 -0.0041)
OKLCHoklch(57.93% 0.191 358.8)
XYZxyz(29.7083, 17.0255, 19.4875)
Luminance0.1702 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3878 #38CC8C
analogous
#CC38C2 #CC3878 #CC4238
triadic
#CC3878 #78CC38 #3878CC
tetradic
#CC3878 #C2CC38 #38CC8C #4238CC
square
#CC3878 #C2CC38 #38CC8C #4238CC
split-complementary
#CC3878 #38CC42 #38C2CC
monochromatic
#6E1C3F #9E295B #CC3878 #D86999 #E599BA

Accessibility & contrast

On white

4.77
#CC3878 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#CC3878 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC3878
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3878#FFFFFF#000000##FFFFFF
##CC38781.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57617A
Deuteranopia (green-blind)
#7F7D75
Tritanopia (blue-blind)
#DD2353
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cc3878;
/* rgb */ color: rgb(204, 56, 120);
/* oklch */ color: oklch(57.9% 0.191 358.8);
Tailwind
colors: {
  custom: {
    50: '#e17b9e',
    500: '#cc3878',
    950: '#000000',
  },
}
SCSS
$custom: #cc3878;
$custom-light: #e17b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3878",
  "rgb": {
    "r": 204,
    "g": 56,
    "b": 120
  },
  "hsl": {
    "h": 334.054,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57928,
    "c": 0.19093,
    "h": 358.8
  },
  "luminance": 0.17022
}

Semantic roles & 50–950 ramp

primary
#CC3878
secondary
#8FD1B4
accent
#E29F45
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CC3878

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

Preview Lab → · Contrast checker → · Palette generator →

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