#CC2B72#CC2B72

#CC2B72 is a mid, highly saturated pink. Relative luminance 0.158; OKLCH L 56.7% C 0.202 H 359.8°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#CC2B72
RGBrgb(204, 43, 114)
HSLhsl(334, 65%, 48%)
HSVhsv(334, 79%, 80%)
CMYKcmyk(0%, 78.9%, 44.1%, 20%)
CIE-LABlab(46.69, 65.64, -0.54)
CIE-LCHlch(46.69, 65.64, 359.53°)
OKLaboklab(56.69% 0.2018 -0.0007)
OKLCHoklch(56.69% 0.202 359.8)
XYZxyz(28.8053, 15.7839, 17.4461)
Luminance0.1578 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2B72 #2BCC85
analogous
#CC2BC2 #CC2B72 #CC342B
triadic
#CC2B72 #72CC2B #2B72CC
tetradic
#CC2B72 #C2CC2B #2BCC85 #342BCC
square
#CC2B72 #C2CC2B #2BCC85 #342BCC
split-complementary
#CC2B72 #2BCC34 #2BC2CC
monochromatic
#67163A #992056 #CC2B72 #DC5892 #E78BB3

Accessibility & contrast

On white

5.05
#CC2B72 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#CC2B72 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC2B72
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC2B72#FFFFFF#000000##FFFFFF
##CC2B721.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc2b72;
/* rgb */ color: rgb(204, 43, 114);
/* oklch */ color: oklch(56.7% 0.202 359.8);
Tailwind
colors: {
  custom: {
    50: '#e1759a',
    500: '#cc2b72',
    950: '#000000',
  },
}
SCSS
$custom: #cc2b72;
$custom-light: #e1759a;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2b72",
  "rgb": {
    "r": 204,
    "g": 43,
    "b": 114
  },
  "hsl": {
    "h": 333.54,
    "s": 65.182,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56692,
    "c": 0.20178,
    "h": 359.8
  },
  "luminance": 0.1578
}

Semantic roles & 50–950 ramp

primary
#CC2B72
secondary
#82D0AE
accent
#E89E40
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CC2B72

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

Preview Lab → · Contrast checker → · Palette generator →

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