#CC2C5E#CC2C5E

#CC2C5E is a mid, vivid pink. Relative luminance 0.154; OKLCH L 56.2% C 0.196 H 8.4°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#CC2C5E
RGBrgb(204, 44, 94)
HSLhsl(341, 65%, 49%)
HSVhsv(341, 78%, 80%)
CMYKcmyk(0%, 78.4%, 53.9%, 20%)
CIE-LABlab(46.25, 63.70, 11.15)
CIE-LCHlch(46.25, 64.67, 9.93°)
OKLaboklab(56.19% 0.1939 0.0285)
OKLCHoklch(56.19% 0.196 8.4)
XYZxyz(27.8255, 15.4509, 12.1046)
Luminance0.1545 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2C5E #2CCC9A
analogous
#CC2CAE #CC2C5E #CC4A2C
triadic
#CC2C5E #5ECC2C #2C5ECC
tetradic
#CC2C5E #AECC2C #2CCC9A #4A2CCC
square
#CC2C5E #AECC2C #2CCC9A #4A2CCC
split-complementary
#CC2C5E #2CCC4A #2CAECC
monochromatic
#671630 #9A2147 #CC2C5E #DB5A82 #E68CA8

Accessibility & contrast

On white

5.14
#CC2C5E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#CC2C5E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC2C5E
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC2C5E#FFFFFF#000000##FFFFFF
##CC2C5E1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57595F
Deuteranopia (green-blind)
#81795A
Tritanopia (blue-blind)
#DF0042
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #cc2c5e;
/* rgb */ color: rgb(204, 44, 94);
/* oklch */ color: oklch(56.2% 0.196 8.4);
Tailwind
colors: {
  custom: {
    50: '#e2758b',
    500: '#cc2c5e',
    950: '#000000',
  },
}
SCSS
$custom: #cc2c5e;
$custom-light: #e2758b;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2c5e",
  "rgb": {
    "r": 204,
    "g": 44,
    "b": 94
  },
  "hsl": {
    "h": 341.25,
    "s": 64.516,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56189,
    "c": 0.19596,
    "h": 8.4
  },
  "luminance": 0.15447
}

Semantic roles & 50–950 ramp

primary
#CC2C5E
secondary
#83D0B8
accent
#E8B340
background
#FEF7F8
surface
#FDEEF0
border
#D5C9CB
text
#17090B
muted
#857B7C

Preview Lab

Preview with #CC2C5E

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

Preview Lab → · Contrast checker → · Palette generator →

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