#CC2972#CC2972

#CC2972 is a mid, highly saturated pink. Relative luminance 0.156; OKLCH L 56.6% C 0.204 H 359.6°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#CC2972
RGBrgb(204, 41, 114)
HSLhsl(333, 67%, 48%)
HSVhsv(333, 80%, 80%)
CMYKcmyk(0%, 79.9%, 44.1%, 20%)
CIE-LABlab(46.50, 66.17, -0.82)
CIE-LCHlch(46.50, 66.18, 359.29°)
OKLaboklab(56.55% 0.2035 -0.0014)
OKLCHoklch(56.55% 0.204 359.6)
XYZxyz(28.7343, 15.6420, 17.4224)
Luminance0.1564 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2972 #29CC83
analogous
#CC29C3 #CC2972 #CC3129
triadic
#CC2972 #72CC29 #2972CC
tetradic
#CC2972 #C3CC29 #29CC83 #3129CC
square
#CC2972 #C3CC29 #29CC83 #3129CC
split-complementary
#CC2972 #29CC31 #29C3CC
monochromatic
#661539 #991F56 #CC2972 #DD5592 #E788B3

Accessibility & contrast

On white

5.09
#CC2972 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#CC2972 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC2972
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC2972#FFFFFF#000000##FFFFFF
##CC29721.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505A74
Deuteranopia (green-blind)
#7C796E
Tritanopia (blue-blind)
#DD004A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #cc2972;
/* rgb */ color: rgb(204, 41, 114);
/* oklch */ color: oklch(56.6% 0.204 359.6);
Tailwind
colors: {
  custom: {
    50: '#e2759a',
    500: '#cc2972',
    950: '#000000',
  },
}
SCSS
$custom: #cc2972;
$custom-light: #e2759a;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2972",
  "rgb": {
    "r": 204,
    "g": 41,
    "b": 114
  },
  "hsl": {
    "h": 333.129,
    "s": 66.531,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56554,
    "c": 0.20351,
    "h": 359.6
  },
  "luminance": 0.15638
}

Semantic roles & 50–950 ramp

primary
#CC2972
secondary
#80D1AD
accent
#E99D3E
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#16090E
muted
#847B7E

Preview Lab

Preview with #CC2972

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

Preview Lab → · Contrast checker → · Palette generator →

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