#CC2D9C#CC2D9C

#CC2D9C is a mid, highly saturated pink. Relative luminance 0.171; OKLCH L 58.4% C 0.219 H 343.4°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#CC2D9C
RGBrgb(204, 45, 156)
HSLhsl(318, 64%, 49%)
HSVhsv(318, 78%, 80%)
CMYKcmyk(0%, 77.9%, 23.5%, 20%)
CIE-LABlab(48.41, 69.64, -23.39)
CIE-LCHlch(48.41, 73.47, 341.43°)
OKLaboklab(58.44% 0.2104 -0.0626)
OKLCHoklch(58.44% 0.219 343.4)
XYZxyz(31.8422, 17.1179, 33.0732)
Luminance0.1711 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2D9C #2DCC5D
analogous
#AD2DCC #CC2D9C #CC2D4D
triadic
#CC2D9C #9CCC2D #2D9CCC
tetradic
#CC2D9C #CCAD2D #2DCC5D #2D4DCC
square
#CC2D9C #CCAD2D #2DCC5D #2D4DCC
split-complementary
#CC2D9C #4DCC2D #2DCCAD
monochromatic
#68174F #9A2276 #CC2D9C #DB5BB4 #E68DCB

Accessibility & contrast

On white

4.75
#CC2D9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#CC2D9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC2D9C
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC2D9C#FFFFFF#000000##FFFFFF
##CC2D9C1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40629F
Deuteranopia (green-blind)
#727C98
Tritanopia (blue-blind)
#D92D62
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cc2d9c;
/* rgb */ color: rgb(204, 45, 156);
/* oklch */ color: oklch(58.4% 0.219 343.4);
Tailwind
colors: {
  custom: {
    50: '#e077b9',
    500: '#cc2d9c',
    950: '#000000',
  },
}
SCSS
$custom: #cc2d9c;
$custom-light: #e077b9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2d9c",
  "rgb": {
    "r": 204,
    "g": 45,
    "b": 156
  },
  "hsl": {
    "h": 318.113,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58442,
    "c": 0.21949,
    "h": 343.4
  },
  "luminance": 0.17114
}

Semantic roles & 50–950 ramp

primary
#CC2D9C
secondary
#85D09B
accent
#E77341
background
#FEF7FB
surface
#FDEEF6
border
#D5C9D0
text
#160A11
muted
#847C80

Preview Lab

Preview with #CC2D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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