#CC2C64#CC2C64

#CC2C64 is a mid, vivid pink. Relative luminance 0.156; OKLCH L 56.3% C 0.197 H 5.8°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#CC2C64
RGBrgb(204, 44, 100)
HSLhsl(339, 65%, 49%)
HSVhsv(339, 78%, 80%)
CMYKcmyk(0%, 78.4%, 51%, 20%)
CIE-LABlab(46.40, 64.16, 7.66)
CIE-LCHlch(46.40, 64.62, 6.81°)
OKLaboklab(56.35% 0.1961 0.02)
OKLCHoklch(56.35% 0.197 5.8)
XYZxyz(28.1053, 15.5628, 13.5781)
Luminance0.1556 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2C64 #2CCC94
analogous
#CC2CB4 #CC2C64 #CC442C
triadic
#CC2C64 #64CC2C #2C64CC
tetradic
#CC2C64 #B4CC2C #2CCC94 #442CCC
square
#CC2C64 #B4CC2C #2CCC94 #442CCC
split-complementary
#CC2C64 #2CCC44 #2CB4CC
monochromatic
#671633 #9A214B #CC2C64 #DB5A87 #E68CAC

Accessibility & contrast

On white

5.11
#CC2C64 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#CC2C64 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC2C64
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC2C64#FFFFFF#000000##FFFFFF
##CC2C641.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#565A65
Deuteranopia (green-blind)
#807960
Tritanopia (blue-blind)
#DE0045
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #cc2c64;
/* rgb */ color: rgb(204, 44, 100);
/* oklch */ color: oklch(56.3% 0.197 5.8);
Tailwind
colors: {
  custom: {
    50: '#e2758f',
    500: '#cc2c64',
    950: '#000000',
  },
}
SCSS
$custom: #cc2c64;
$custom-light: #e2758f;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2c64",
  "rgb": {
    "r": 204,
    "g": 44,
    "b": 100
  },
  "hsl": {
    "h": 339,
    "s": 64.516,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56348,
    "c": 0.19711,
    "h": 5.8
  },
  "luminance": 0.15559
}

Semantic roles & 50–950 ramp

primary
#CC2C64
secondary
#83D0B5
accent
#E8AD40
background
#FEF7F8
surface
#FDEEF0
border
#D5C9CB
text
#17090C
muted
#857B7D

Preview Lab

Preview with #CC2C64

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

Preview Lab → · Contrast checker → · Palette generator →

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