#CC2BAE#CC2BAE

#CC2BAE is a mid, highly saturated pink. Relative luminance 0.176; OKLCH L 59.2% C 0.232 H 337.2°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#CC2BAE
RGBrgb(204, 43, 174)
HSLhsl(311, 65%, 48%)
HSVhsv(311, 79%, 80%)
CMYKcmyk(0%, 78.9%, 14.7%, 20%)
CIE-LABlab(49.04, 72.53, -33.08)
CIE-LCHlch(49.04, 79.71, 335.48°)
OKLaboklab(59.16% 0.2142 -0.0901)
OKLCHoklch(59.16% 0.232 337.2)
XYZxyz(33.4064, 17.6243, 41.6787)
Luminance0.1762 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2BAE #2BCC49
analogous
#992BCC #CC2BAE #CC2B5D
triadic
#CC2BAE #AECC2B #2BAECC
tetradic
#CC2BAE #CC992B #2BCC49 #2B5DCC
square
#CC2BAE #CC992B #2BCC49 #2B5DCC
split-complementary
#CC2BAE #5DCC2B #2BCC99
monochromatic
#671658 #992083 #CC2BAE #DC58C3 #E78BD5

Accessibility & contrast

On white

4.64
#CC2BAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#CC2BAE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CC2BAE
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC2BAE#FFFFFF#000000##FFFFFF
##CC2BAE1.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3165B1
Deuteranopia (green-blind)
#6B7DAA
Tritanopia (blue-blind)
#D7376B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #cc2bae;
/* rgb */ color: rgb(204, 43, 174);
/* oklch */ color: oklch(59.2% 0.232 337.2);
Tailwind
colors: {
  custom: {
    50: '#e077c6',
    500: '#cc2bae',
    950: '#000000',
  },
}
SCSS
$custom: #cc2bae;
$custom-light: #e077c6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2bae",
  "rgb": {
    "r": 204,
    "g": 43,
    "b": 174
  },
  "hsl": {
    "h": 311.18,
    "s": 65.182,
    "l": 48.431
  },
  "oklch": {
    "l": 0.5916,
    "c": 0.23234,
    "h": 337.2
  },
  "luminance": 0.17621
}

Semantic roles & 50–950 ramp

primary
#CC2BAE
secondary
#82D091
accent
#E85F40
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #CC2BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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