#CC4079#CC4079

#CC4079 is a mid, vivid pink. Relative luminance 0.179; OKLCH L 58.7% C 0.182 H 359.5°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#CC4079
RGBrgb(204, 64, 121)
HSLhsl(336, 58%, 53%)
HSVhsv(336, 69%, 80%)
CMYKcmyk(0%, 68.6%, 40.7%, 20%)
CIE-LABlab(49.36, 59.42, -0.90)
CIE-LCHlch(49.36, 59.43, 359.13°)
OKLaboklab(58.73% 0.182 -0.0016)
OKLCHoklch(58.73% 0.182 359.5)
XYZxyz(30.1885, 17.8883, 19.9485)
Luminance0.1789 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4079 #40CC93
analogous
#CC40BF #CC4079 #CC4D40
triadic
#CC4079 #79CC40 #4079CC
tetradic
#CC4079 #BFCC40 #40CC93 #4D40CC
square
#CC4079 #BFCC40 #40CC93 #4D40CC
split-complementary
#CC4079 #40CC4D #40BFCC
monochromatic
#731F41 #A32C5C #CC4079 #D9709B #E6A1BD

Accessibility & contrast

On white

4.59
#CC4079 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#CC4079 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CC4079
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4079#FFFFFF#000000##FFFFFF
##CC40791.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C647A
Deuteranopia (green-blind)
#827F76
Tritanopia (blue-blind)
#DD2F57
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cc4079;
/* rgb */ color: rgb(204, 64, 121);
/* oklch */ color: oklch(58.7% 0.182 359.5);
Tailwind
colors: {
  custom: {
    50: '#e17e9f',
    500: '#cc4079',
    950: '#000000',
  },
}
SCSS
$custom: #cc4079;
$custom-light: #e17e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4079",
  "rgb": {
    "r": 204,
    "g": 64,
    "b": 121
  },
  "hsl": {
    "h": 335.571,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58725,
    "c": 0.18204,
    "h": 359.5
  },
  "luminance": 0.17885
}

Semantic roles & 50–950 ramp

primary
#CC4079
secondary
#95D2BA
accent
#E1A247
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CC4079

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

Preview Lab → · Contrast checker → · Palette generator →

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