#CC2A73#CC2A73

#CC2A73 is a mid, highly saturated pink. Relative luminance 0.157; OKLCH L 56.7% C 0.203 H 359.3°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#CC2A73
RGBrgb(204, 42, 115)
HSLhsl(333, 66%, 48%)
HSVhsv(333, 79%, 80%)
CMYKcmyk(0%, 79.4%, 43.6%, 20%)
CIE-LABlab(46.62, 66.00, -1.25)
CIE-LCHlch(46.62, 66.01, 358.91°)
OKLaboklab(56.65% 0.203 -0.0025)
OKLCHoklch(56.65% 0.203 359.3)
XYZxyz(28.8266, 15.7350, 17.7355)
Luminance0.1573 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2A73 #2ACC83
analogous
#CC2AC4 #CC2A73 #CC322A
triadic
#CC2A73 #73CC2A #2A73CC
tetradic
#CC2A73 #C4CC2A #2ACC83 #322ACC
square
#CC2A73 #C4CC2A #2ACC83 #322ACC
split-complementary
#CC2A73 #2ACC32 #2AC4CC
monochromatic
#66153A #992056 #CC2A73 #DC5793 #E78AB4

Accessibility & contrast

On white

5.06
#CC2A73 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#CC2A73 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC2A73
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC2A73#FFFFFF#000000##FFFFFF
##CC2A731.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505B75
Deuteranopia (green-blind)
#7C796F
Tritanopia (blue-blind)
#DD004B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #cc2a73;
/* rgb */ color: rgb(204, 42, 115);
/* oklch */ color: oklch(56.7% 0.203 359.3);
Tailwind
colors: {
  custom: {
    50: '#e1759b',
    500: '#cc2a73',
    950: '#000000',
  },
}
SCSS
$custom: #cc2a73;
$custom-light: #e1759b;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2a73",
  "rgb": {
    "r": 204,
    "g": 42,
    "b": 115
  },
  "hsl": {
    "h": 332.963,
    "s": 65.854,
    "l": 48.235
  },
  "oklch": {
    "l": 0.56654,
    "c": 0.20299,
    "h": 359.3
  },
  "luminance": 0.15731
}

Semantic roles & 50–950 ramp

primary
#CC2A73
secondary
#81D1AD
accent
#E99C3F
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#16090E
muted
#847B7E

Preview Lab

Preview with #CC2A73

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

Preview Lab → · Contrast checker → · Palette generator →

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