#CC3977#CC3977

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

Color values

HEX#CC3977
RGBrgb(204, 57, 119)
HSLhsl(335, 59%, 51%)
HSVhsv(335, 72%, 80%)
CMYKcmyk(0%, 72.1%, 41.7%, 20%)
CIE-LABlab(48.38, 61.76, -1.12)
CIE-LCHlch(48.38, 61.77, 358.96°)
OKLaboklab(57.99% 0.1895 -0.0022)
OKLCHoklch(57.99% 0.189 359.3)
XYZxyz(29.6969, 17.0993, 19.1858)
Luminance0.1710 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3977 #39CC8E
analogous
#CC39C0 #CC3977 #CC4439
triadic
#CC3977 #77CC39 #3977CC
tetradic
#CC3977 #C0CC39 #39CC8E #4439CC
square
#CC3977 #C0CC39 #39CC8E #4439CC
split-complementary
#CC3977 #39CC44 #39C0CC
monochromatic
#6E1C3F #9F295B #CC3977 #D96A98 #E59ABA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC3977#FFFFFF#000000##FFFFFF
##CC39771.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)
#586179
Deuteranopia (green-blind)
#807D74
Tritanopia (blue-blind)
#DD2453
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cc3977;
/* rgb */ color: rgb(204, 57, 119);
/* oklch */ color: oklch(58.0% 0.189 359.3);
Tailwind
colors: {
  custom: {
    50: '#e17b9e',
    500: '#cc3977',
    950: '#000000',
  },
}
SCSS
$custom: #cc3977;
$custom-light: #e17b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3977",
  "rgb": {
    "r": 204,
    "g": 57,
    "b": 119
  },
  "hsl": {
    "h": 334.694,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57986,
    "c": 0.18948,
    "h": 359.3
  },
  "luminance": 0.17096
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC3977

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

Preview Lab → · Contrast checker → · Palette generator →

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