#CC3879#CC3879

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

Color values

HEX#CC3879
RGBrgb(204, 56, 121)
HSLhsl(334, 59%, 51%)
HSVhsv(334, 73%, 80%)
CMYKcmyk(0%, 72.5%, 40.7%, 20%)
CIE-LABlab(48.32, 62.30, -2.42)
CIE-LCHlch(48.32, 62.35, 357.77°)
OKLaboklab(57.96% 0.1912 -0.0056)
OKLCHoklch(57.96% 0.191 358.3)
XYZxyz(29.7693, 17.0499, 19.8088)
Luminance0.1705 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3879 #38CC8B
analogous
#CC38C3 #CC3879 #CC4138
triadic
#CC3879 #79CC38 #3879CC
tetradic
#CC3879 #C3CC38 #38CC8B #4138CC
square
#CC3879 #C3CC38 #38CC8B #4138CC
split-complementary
#CC3879 #38CC41 #38C3CC
monochromatic
#6E1C40 #9E295C #CC3879 #D8699A #E599BB

Accessibility & contrast

On white

4.76
#CC3879 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#CC3879 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC3879
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3879#FFFFFF#000000##FFFFFF
##CC38791.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc3879;
/* rgb */ color: rgb(204, 56, 121);
/* oklch */ color: oklch(58.0% 0.191 358.3);
Tailwind
colors: {
  custom: {
    50: '#e17b9f',
    500: '#cc3879',
    950: '#000000',
  },
}
SCSS
$custom: #cc3879;
$custom-light: #e17b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3879",
  "rgb": {
    "r": 204,
    "g": 56,
    "b": 121
  },
  "hsl": {
    "h": 333.649,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.5796,
    "c": 0.19128,
    "h": 358.3
  },
  "luminance": 0.17046
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC3879

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

Preview Lab → · Contrast checker → · Palette generator →

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