#CC3978#CC3978

#CC3978 is a mid, vivid pink. Relative luminance 0.171; OKLCH L 58.0% C 0.190 H 358.9°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#CC3978
RGBrgb(204, 57, 120)
HSLhsl(334, 59%, 51%)
HSVhsv(334, 72%, 80%)
CMYKcmyk(0%, 72.1%, 41.2%, 20%)
CIE-LABlab(48.42, 61.86, -1.68)
CIE-LCHlch(48.42, 61.88, 358.44°)
OKLaboklab(58.02% 0.1898 -0.0036)
OKLCHoklch(58.02% 0.19 358.9)
XYZxyz(29.7573, 17.1234, 19.5038)
Luminance0.1712 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3978 #39CC8D
analogous
#CC39C1 #CC3978 #CC4339
triadic
#CC3978 #78CC39 #3978CC
tetradic
#CC3978 #C1CC39 #39CC8D #4339CC
square
#CC3978 #C1CC39 #39CC8D #4339CC
split-complementary
#CC3978 #39CC43 #39C1CC
monochromatic
#6E1C3F #9F295B #CC3978 #D96A99 #E59ABA

Accessibility & contrast

On white

4.75
#CC3978 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#CC3978 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC3978
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3978#FFFFFF#000000##FFFFFF
##CC39781.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58617A
Deuteranopia (green-blind)
#807D75
Tritanopia (blue-blind)
#DD2554
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cc3978;
/* rgb */ color: rgb(204, 57, 120);
/* oklch */ color: oklch(58.0% 0.190 358.9);
Tailwind
colors: {
  custom: {
    50: '#e17b9e',
    500: '#cc3978',
    950: '#000000',
  },
}
SCSS
$custom: #cc3978;
$custom-light: #e17b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3978",
  "rgb": {
    "r": 204,
    "g": 57,
    "b": 120
  },
  "hsl": {
    "h": 334.286,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58018,
    "c": 0.18983,
    "h": 358.9
  },
  "luminance": 0.1712
}

Semantic roles & 50–950 ramp

primary
#CC3978
secondary
#90D1B5
accent
#E29F46
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CC3978

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

Preview Lab → · Contrast checker → · Palette generator →

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