#CC4072#CC4072

#CC4072 is a mid, vivid pink. Relative luminance 0.177; OKLCH L 58.5% C 0.180 H 2.7°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#CC4072
RGBrgb(204, 64, 114)
HSLhsl(339, 58%, 53%)
HSVhsv(339, 69%, 80%)
CMYKcmyk(0%, 68.6%, 44.1%, 20%)
CIE-LABlab(49.16, 58.72, 3.05)
CIE-LCHlch(49.16, 58.80, 2.97°)
OKLaboklab(58.51% 0.1797 0.0085)
OKLCHoklch(58.51% 0.18 2.7)
XYZxyz(29.7747, 17.7228, 17.7692)
Luminance0.1772 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4072 #40CC9A
analogous
#CC40B8 #CC4072 #CC5440
triadic
#CC4072 #72CC40 #4072CC
tetradic
#CC4072 #B8CC40 #40CC9A #5440CC
square
#CC4072 #B8CC40 #40CC9A #5440CC
split-complementary
#CC4072 #40CC54 #40B8CC
monochromatic
#731F3D #A32C56 #CC4072 #D97096 #E6A1B9

Accessibility & contrast

On white

4.62
#CC4072 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#CC4072 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CC4072
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4072#FFFFFF#000000##FFFFFF
##CC40721.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E6473
Deuteranopia (green-blind)
#837F6F
Tritanopia (blue-blind)
#DD2C54
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cc4072;
/* rgb */ color: rgb(204, 64, 114);
/* oklch */ color: oklch(58.5% 0.180 2.7);
Tailwind
colors: {
  custom: {
    50: '#e17e9a',
    500: '#cc4072',
    950: '#000000',
  },
}
SCSS
$custom: #cc4072;
$custom-light: #e17e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4072",
  "rgb": {
    "r": 204,
    "g": 64,
    "b": 114
  },
  "hsl": {
    "h": 338.571,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58509,
    "c": 0.17986,
    "h": 2.7
  },
  "luminance": 0.17719
}

Semantic roles & 50–950 ramp

primary
#CC4072
secondary
#95D2BD
accent
#E1AA47
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CC4072

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

Preview Lab → · Contrast checker → · Palette generator →

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