#CC2D6C#CC2D6C

#CC2D6C is a mid, vivid pink. Relative luminance 0.158; OKLCH L 56.7% C 0.198 H 2.6°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#CC2D6C
RGBrgb(204, 45, 108)
HSLhsl(336, 64%, 49%)
HSVhsv(336, 78%, 80%)
CMYKcmyk(0%, 77.9%, 47.1%, 20%)
CIE-LABlab(46.71, 64.54, 3.18)
CIE-LCHlch(46.71, 64.62, 2.82°)
OKLaboklab(56.65% 0.198 0.0088)
OKLCHoklch(56.65% 0.198 2.6)
XYZxyz(28.5494, 15.8008, 15.7309)
Luminance0.1580 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2D6C #2DCC8D
analogous
#CC2DBC #CC2D6C #CC3D2D
triadic
#CC2D6C #6CCC2D #2D6CCC
tetradic
#CC2D6C #BCCC2D #2DCC8D #3D2DCC
square
#CC2D6C #BCCC2D #2DCC8D #3D2DCC
split-complementary
#CC2D6C #2DCC3D #2DBCCC
monochromatic
#681737 #9A2251 #CC2D6C #DB5B8E #E68DB1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC2D6C#FFFFFF#000000##FFFFFF
##CC2D6C1.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)
#545B6D
Deuteranopia (green-blind)
#7E7A68
Tritanopia (blue-blind)
#DE0049
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #cc2d6c;
/* rgb */ color: rgb(204, 45, 108);
/* oklch */ color: oklch(56.7% 0.198 2.6);
Tailwind
colors: {
  custom: {
    50: '#e27695',
    500: '#cc2d6c',
    950: '#000000',
  },
}
SCSS
$custom: #cc2d6c;
$custom-light: #e27695;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2d6c",
  "rgb": {
    "r": 204,
    "g": 45,
    "b": 108
  },
  "hsl": {
    "h": 336.226,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56651,
    "c": 0.19819,
    "h": 2.6
  },
  "luminance": 0.15797
}

Semantic roles & 50–950 ramp

primary
#CC2D6C
secondary
#85D0B2
accent
#E7A541
background
#FEF7F9
surface
#FDEEF1
border
#D5C9CB
text
#170A0D
muted
#857C7E

Preview Lab

Preview with #CC2D6C

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

Preview Lab → · Contrast checker → · Palette generator →

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