#CC2D6D#CC2D6D

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

Color values

HEX#CC2D6D
RGBrgb(204, 45, 109)
HSLhsl(336, 64%, 49%)
HSVhsv(336, 78%, 80%)
CMYKcmyk(0%, 77.9%, 46.6%, 20%)
CIE-LABlab(46.74, 64.63, 2.60)
CIE-LCHlch(46.74, 64.68, 2.31°)
OKLaboklab(56.68% 0.1983 0.0074)
OKLCHoklch(56.68% 0.198 2.1)
XYZxyz(28.6029, 15.8222, 16.0128)
Luminance0.1582 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2D6D #2DCC8C
analogous
#CC2DBD #CC2D6D #CC3D2D
triadic
#CC2D6D #6DCC2D #2D6DCC
tetradic
#CC2D6D #BDCC2D #2DCC8C #3D2DCC
square
#CC2D6D #BDCC2D #2DCC8C #3D2DCC
split-complementary
#CC2D6D #2DCC3D #2DBDCC
monochromatic
#681737 #9A2252 #CC2D6D #DB5B8F #E68DB1

Accessibility & contrast

On white

5.04
#CC2D6D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #CC2D6D
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC2D6D#FFFFFF#000000##FFFFFF
##CC2D6D1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545B6E
Deuteranopia (green-blind)
#7E7A69
Tritanopia (blue-blind)
#DE0049
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #cc2d6d;
/* rgb */ color: rgb(204, 45, 109);
/* oklch */ color: oklch(56.7% 0.198 2.1);
Tailwind
colors: {
  custom: {
    50: '#e27696',
    500: '#cc2d6d',
    950: '#000000',
  },
}
SCSS
$custom: #cc2d6d;
$custom-light: #e27696;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2d6d",
  "rgb": {
    "r": 204,
    "g": 45,
    "b": 109
  },
  "hsl": {
    "h": 335.849,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56681,
    "c": 0.19847,
    "h": 2.1
  },
  "luminance": 0.15818
}

Semantic roles & 50–950 ramp

primary
#CC2D6D
secondary
#85D0B2
accent
#E7A441
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#170A0D
muted
#857C7E

Preview Lab

Preview with #CC2D6D

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

Preview Lab → · Contrast checker → · Palette generator →

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