#CC2DA1#CC2DA1

#CC2DA1 is a mid, highly saturated pink. Relative luminance 0.173; OKLCH L 58.7% C 0.222 H 341.6°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#CC2DA1
RGBrgb(204, 45, 161)
HSLhsl(316, 64%, 49%)
HSVhsv(316, 78%, 80%)
CMYKcmyk(0%, 77.9%, 21.1%, 20%)
CIE-LABlab(48.62, 70.27, -26.04)
CIE-LCHlch(48.62, 74.94, 339.67°)
OKLaboklab(58.67% 0.2111 -0.0701)
OKLCHoklch(58.67% 0.222 341.6)
XYZxyz(32.2744, 17.2907, 35.3491)
Luminance0.1729 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2DA1 #2DCC58
analogous
#A82DCC #CC2DA1 #CC2D52
triadic
#CC2DA1 #A1CC2D #2DA1CC
tetradic
#CC2DA1 #CCA82D #2DCC58 #2D52CC
square
#CC2DA1 #CCA82D #2DCC58 #2D52CC
split-complementary
#CC2DA1 #52CC2D #2DCCA8
monochromatic
#681752 #9A2279 #CC2DA1 #DB5BB8 #E68DCE

Accessibility & contrast

On white

4.71
#CC2DA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#CC2DA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC2DA1
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC2DA1#FFFFFF#000000##FFFFFF
##CC2DA11.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D63A4
Deuteranopia (green-blind)
#707D9D
Tritanopia (blue-blind)
#D93065
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cc2da1;
/* rgb */ color: rgb(204, 45, 161);
/* oklch */ color: oklch(58.7% 0.222 341.6);
Tailwind
colors: {
  custom: {
    50: '#e078bd',
    500: '#cc2da1',
    950: '#000000',
  },
}
SCSS
$custom: #cc2da1;
$custom-light: #e078bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2da1",
  "rgb": {
    "r": 204,
    "g": 45,
    "b": 161
  },
  "hsl": {
    "h": 316.226,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58668,
    "c": 0.22245,
    "h": 341.6
  },
  "luminance": 0.17287
}

Semantic roles & 50–950 ramp

primary
#CC2DA1
secondary
#85D099
accent
#E76E41
background
#FEF7FB
surface
#FDEEF6
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #CC2DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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