#CC2BAC#CC2BAC

#CC2BAC is a mid, highly saturated pink. Relative luminance 0.175; OKLCH L 59.1% C 0.231 H 337.8°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#CC2BAC
RGBrgb(204, 43, 172)
HSLhsl(312, 65%, 48%)
HSVhsv(312, 79%, 80%)
CMYKcmyk(0%, 78.9%, 15.7%, 20%)
CIE-LABlab(48.94, 72.25, -32.05)
CIE-LCHlch(48.94, 79.04, 336.08°)
OKLaboklab(59.06% 0.214 -0.0871)
OKLCHoklch(59.06% 0.231 337.8)
XYZxyz(33.2129, 17.5469, 40.6595)
Luminance0.1754 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2BAC #2BCC4B
analogous
#9B2BCC #CC2BAC #CC2B5C
triadic
#CC2BAC #ACCC2B #2BACCC
tetradic
#CC2BAC #CC9B2B #2BCC4B #2B5CCC
square
#CC2BAC #CC9B2B #2BCC4B #2B5CCC
split-complementary
#CC2BAC #5CCC2B #2BCC9B
monochromatic
#671657 #992081 #CC2BAC #DC58C2 #E78BD4

Accessibility & contrast

On white

4.66
#CC2BAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#CC2BAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CC2BAC
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC2BAC#FFFFFF#000000##FFFFFF
##CC2BAC1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3365AF
Deuteranopia (green-blind)
#6C7DA8
Tritanopia (blue-blind)
#D7356A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #cc2bac;
/* rgb */ color: rgb(204, 43, 172);
/* oklch */ color: oklch(59.1% 0.231 337.8);
Tailwind
colors: {
  custom: {
    50: '#e077c5',
    500: '#cc2bac',
    950: '#000000',
  },
}
SCSS
$custom: #cc2bac;
$custom-light: #e077c5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2bac",
  "rgb": {
    "r": 204,
    "g": 43,
    "b": 172
  },
  "hsl": {
    "h": 311.925,
    "s": 65.182,
    "l": 48.431
  },
  "oklch": {
    "l": 0.5906,
    "c": 0.23107,
    "h": 337.8
  },
  "luminance": 0.17544
}

Semantic roles & 50–950 ramp

primary
#CC2BAC
secondary
#82D092
accent
#E86140
background
#FEF7FC
surface
#FDEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #CC2BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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