#CC2C8A#CC2C8A

#CC2C8A is a mid, highly saturated pink. Relative luminance 0.165; OKLCH L 57.6% C 0.211 H 350.1°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#CC2C8A
RGBrgb(204, 44, 138)
HSLhsl(325, 65%, 49%)
HSVhsv(325, 78%, 80%)
CMYKcmyk(0%, 78.4%, 32.4%, 20%)
CIE-LABlab(47.59, 67.79, -13.83)
CIE-LCHlch(47.59, 69.19, 348.47°)
OKLaboklab(57.62% 0.2077 -0.0361)
OKLCHoklch(57.62% 0.211 350.1)
XYZxyz(30.3917, 16.4774, 25.6198)
Luminance0.1647 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2C8A #2CCC6E
analogous
#BE2CCC #CC2C8A #CC2C3A
triadic
#CC2C8A #8ACC2C #2C8ACC
tetradic
#CC2C8A #CCBE2C #2CCC6E #2C3ACC
square
#CC2C8A #CCBE2C #2CCC6E #2C3ACC
split-complementary
#CC2C8A #3ACC2C #2CCCBE
monochromatic
#671646 #9A2168 #CC2C8A #DB5AA6 #E68CC1

Accessibility & contrast

On white

4.89
#CC2C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#CC2C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC2C8A
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC2C8A#FFFFFF#000000##FFFFFF
##CC2C8A1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495F8C
Deuteranopia (green-blind)
#777B86
Tritanopia (blue-blind)
#DB1F58
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #cc2c8a;
/* rgb */ color: rgb(204, 44, 138);
/* oklch */ color: oklch(57.6% 0.211 350.1);
Tailwind
colors: {
  custom: {
    50: '#e176ac',
    500: '#cc2c8a',
    950: '#000000',
  },
}
SCSS
$custom: #cc2c8a;
$custom-light: #e176ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2c8a",
  "rgb": {
    "r": 204,
    "g": 44,
    "b": 138
  },
  "hsl": {
    "h": 324.75,
    "s": 64.516,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57617,
    "c": 0.21076,
    "h": 350.1
  },
  "luminance": 0.16474
}

Semantic roles & 50–950 ramp

primary
#CC2C8A
secondary
#83D0A3
accent
#E88540
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#160A10
muted
#847C7F

Preview Lab

Preview with #CC2C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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