#CC2C72#CC2C72

#CC2C72 is a mid, highly saturated pink. Relative luminance 0.159; OKLCH L 56.8% C 0.201 H 359.9°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#CC2C72
RGBrgb(204, 44, 114)
HSLhsl(334, 65%, 49%)
HSVhsv(334, 78%, 80%)
CMYKcmyk(0%, 78.4%, 44.1%, 20%)
CIE-LABlab(46.79, 65.36, -0.40)
CIE-LCHlch(46.79, 65.36, 359.65°)
OKLaboklab(56.76% 0.2009 -0.0003)
OKLCHoklch(56.76% 0.201 359.9)
XYZxyz(28.8421, 15.8575, 17.4584)
Luminance0.1585 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2C72 #2CCC86
analogous
#CC2CC2 #CC2C72 #CC362C
triadic
#CC2C72 #72CC2C #2C72CC
tetradic
#CC2C72 #C2CC2C #2CCC86 #362CCC
square
#CC2C72 #C2CC2C #2CCC86 #362CCC
split-complementary
#CC2C72 #2CCC36 #2CC2CC
monochromatic
#67163A #9A2156 #CC2C72 #DB5A93 #E68CB4

Accessibility & contrast

On white

5.04
#CC2C72 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#CC2C72 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC2C72
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC2C72#FFFFFF#000000##FFFFFF
##CC2C721.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525B74
Deuteranopia (green-blind)
#7D7A6E
Tritanopia (blue-blind)
#DD034C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #cc2c72;
/* rgb */ color: rgb(204, 44, 114);
/* oklch */ color: oklch(56.8% 0.201 359.9);
Tailwind
colors: {
  custom: {
    50: '#e1769a',
    500: '#cc2c72',
    950: '#000000',
  },
}
SCSS
$custom: #cc2c72;
$custom-light: #e1769a;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2c72",
  "rgb": {
    "r": 204,
    "g": 44,
    "b": 114
  },
  "hsl": {
    "h": 333.75,
    "s": 64.516,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56763,
    "c": 0.20089,
    "h": 359.9
  },
  "luminance": 0.15854
}

Semantic roles & 50–950 ramp

primary
#CC2C72
secondary
#83D0AF
accent
#E89E40
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CC2C72

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

Preview Lab → · Contrast checker → · Palette generator →

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