#CC2C74#CC2C74

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

Color values

HEX#CC2C74
RGBrgb(204, 44, 116)
HSLhsl(333, 65%, 49%)
HSVhsv(333, 78%, 80%)
CMYKcmyk(0%, 78.4%, 43.1%, 20%)
CIE-LABlab(46.85, 65.55, -1.54)
CIE-LCHlch(46.85, 65.56, 358.66°)
OKLaboklab(56.83% 0.2015 -0.0032)
OKLCHoklch(56.83% 0.202 359.1)
XYZxyz(28.9572, 15.9035, 18.0645)
Luminance0.1590 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2C74 #2CCC84
analogous
#CC2CC4 #CC2C74 #CC342C
triadic
#CC2C74 #74CC2C #2C74CC
tetradic
#CC2C74 #C4CC2C #2CCC84 #342CCC
square
#CC2C74 #C4CC2C #2CCC84 #342CCC
split-complementary
#CC2C74 #2CCC34 #2CC4CC
monochromatic
#67163B #9A2157 #CC2C74 #DB5A94 #E68CB5

Accessibility & contrast

On white

5.02
#CC2C74 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#CC2C74 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC2C74
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC2C74#FFFFFF#000000##FFFFFF
##CC2C741.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515C76
Deuteranopia (green-blind)
#7D7A70
Tritanopia (blue-blind)
#DD064D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #cc2c74;
/* rgb */ color: rgb(204, 44, 116);
/* oklch */ color: oklch(56.8% 0.202 359.1);
Tailwind
colors: {
  custom: {
    50: '#e1769b',
    500: '#cc2c74',
    950: '#000000',
  },
}
SCSS
$custom: #cc2c74;
$custom-light: #e1769b;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2c74",
  "rgb": {
    "r": 204,
    "g": 44,
    "b": 116
  },
  "hsl": {
    "h": 333,
    "s": 64.516,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56827,
    "c": 0.20157,
    "h": 359.1
  },
  "luminance": 0.159
}

Semantic roles & 50–950 ramp

primary
#CC2C74
secondary
#83D0AE
accent
#E89C40
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CC2C74

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

Preview Lab → · Contrast checker → · Palette generator →

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