#CC3979#CC3979

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

Color values

HEX#CC3979
RGBrgb(204, 57, 121)
HSLhsl(334, 59%, 51%)
HSVhsv(334, 72%, 80%)
CMYKcmyk(0%, 72.1%, 40.7%, 20%)
CIE-LABlab(48.45, 61.96, -2.24)
CIE-LCHlch(48.45, 62.00, 357.93°)
OKLaboklab(58.05% 0.1901 -0.0051)
OKLCHoklch(58.05% 0.19 358.5)
XYZxyz(29.8183, 17.1478, 19.8251)
Luminance0.1714 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3979 #39CC8C
analogous
#CC39C2 #CC3979 #CC4239
triadic
#CC3979 #79CC39 #3979CC
tetradic
#CC3979 #C2CC39 #39CC8C #4239CC
square
#CC3979 #C2CC39 #39CC8C #4239CC
split-complementary
#CC3979 #39CC42 #39C2CC
monochromatic
#6E1C40 #9F295C #CC3979 #D96A9A #E59ABB

Accessibility & contrast

On white

4.74
#CC3979 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#CC3979 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC3979
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3979#FFFFFF#000000##FFFFFF
##CC39791.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57617B
Deuteranopia (green-blind)
#7F7D76
Tritanopia (blue-blind)
#DD2654
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cc3979;
/* rgb */ color: rgb(204, 57, 121);
/* oklch */ color: oklch(58.1% 0.190 358.5);
Tailwind
colors: {
  custom: {
    50: '#e17b9f',
    500: '#cc3979',
    950: '#000000',
  },
}
SCSS
$custom: #cc3979;
$custom-light: #e17b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3979",
  "rgb": {
    "r": 204,
    "g": 57,
    "b": 121
  },
  "hsl": {
    "h": 333.878,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58051,
    "c": 0.19018,
    "h": 358.5
  },
  "luminance": 0.17144
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC3979

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

Preview Lab → · Contrast checker → · Palette generator →

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