#CC2A72#CC2A72

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

Color values

HEX#CC2A72
RGBrgb(204, 42, 114)
HSLhsl(333, 66%, 48%)
HSVhsv(333, 79%, 80%)
CMYKcmyk(0%, 79.4%, 44.1%, 20%)
CIE-LABlab(46.59, 65.91, -0.68)
CIE-LCHlch(46.59, 65.91, 359.41°)
OKLaboklab(56.62% 0.2027 -0.001)
OKLCHoklch(56.62% 0.203 359.7)
XYZxyz(28.7694, 15.7121, 17.4341)
Luminance0.1571 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2A72 #2ACC84
analogous
#CC2AC3 #CC2A72 #CC332A
triadic
#CC2A72 #72CC2A #2A72CC
tetradic
#CC2A72 #C3CC2A #2ACC84 #332ACC
square
#CC2A72 #C3CC2A #2ACC84 #332ACC
split-complementary
#CC2A72 #2ACC33 #2AC3CC
monochromatic
#661539 #992056 #CC2A72 #DC5792 #E78AB3

Accessibility & contrast

On white

5.07
#CC2A72 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#CC2A72 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC2A72
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC2A72#FFFFFF#000000##FFFFFF
##CC2A721.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515B74
Deuteranopia (green-blind)
#7D796E
Tritanopia (blue-blind)
#DD004B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #cc2a72;
/* rgb */ color: rgb(204, 42, 114);
/* oklch */ color: oklch(56.6% 0.203 359.7);
Tailwind
colors: {
  custom: {
    50: '#e2759a',
    500: '#cc2a72',
    950: '#000000',
  },
}
SCSS
$custom: #cc2a72;
$custom-light: #e2759a;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2a72",
  "rgb": {
    "r": 204,
    "g": 42,
    "b": 114
  },
  "hsl": {
    "h": 333.333,
    "s": 65.854,
    "l": 48.235
  },
  "oklch": {
    "l": 0.56622,
    "c": 0.20265,
    "h": 359.7
  },
  "luminance": 0.15708
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC2A72

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

Preview Lab → · Contrast checker → · Palette generator →

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