#CC2D64#CC2D64

#CC2D64 is a mid, vivid pink. Relative luminance 0.156; OKLCH L 56.4% C 0.196 H 6.0°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#CC2D64
RGBrgb(204, 45, 100)
HSLhsl(339, 64%, 49%)
HSVhsv(339, 78%, 80%)
CMYKcmyk(0%, 77.9%, 51%, 20%)
CIE-LABlab(46.50, 63.88, 7.80)
CIE-LCHlch(46.50, 64.35, 6.96°)
OKLaboklab(56.42% 0.1952 0.0204)
OKLCHoklch(56.42% 0.196 6)
XYZxyz(28.1430, 15.6382, 13.5907)
Luminance0.1563 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2D64 #2DCC95
analogous
#CC2DB4 #CC2D64 #CC462D
triadic
#CC2D64 #64CC2D #2D64CC
tetradic
#CC2D64 #B4CC2D #2DCC95 #462DCC
square
#CC2D64 #B4CC2D #2DCC95 #462DCC
split-complementary
#CC2D64 #2DCC46 #2DB4CC
monochromatic
#681733 #9A224B #CC2D64 #DB5B87 #E68DAC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC2D64#FFFFFF#000000##FFFFFF
##CC2D641.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)
#565A65
Deuteranopia (green-blind)
#807960
Tritanopia (blue-blind)
#DE0045
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #cc2d64;
/* rgb */ color: rgb(204, 45, 100);
/* oklch */ color: oklch(56.4% 0.196 6.0);
Tailwind
colors: {
  custom: {
    50: '#e2768f',
    500: '#cc2d64',
    950: '#000000',
  },
}
SCSS
$custom: #cc2d64;
$custom-light: #e2768f;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2d64",
  "rgb": {
    "r": 204,
    "g": 45,
    "b": 100
  },
  "hsl": {
    "h": 339.245,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56422,
    "c": 0.19623,
    "h": 6
  },
  "luminance": 0.15634
}

Semantic roles & 50–950 ramp

primary
#CC2D64
secondary
#85D0B6
accent
#E7AD41
background
#FEF7F8
surface
#FDEEF0
border
#D5C9CB
text
#170A0C
muted
#857C7D

Preview Lab

Preview with #CC2D64

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

Preview Lab → · Contrast checker → · Palette generator →

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