#CC2CB6#CC2CB6

#CC2CB6 is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.6% C 0.237 H 334.6°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#CC2CB6
RGBrgb(204, 44, 182)
HSLhsl(308, 65%, 49%)
HSVhsv(308, 78%, 80%)
CMYKcmyk(0%, 78.4%, 10.8%, 20%)
CIE-LABlab(49.52, 73.38, -37.02)
CIE-LCHlch(49.52, 82.19, 333.23°)
OKLaboklab(59.63% 0.2139 -0.1014)
OKLCHoklch(59.63% 0.237 334.6)
XYZxyz(34.2464, 18.0192, 45.9213)
Luminance0.1802 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2CB6 #2CCC42
analogous
#922CCC #CC2CB6 #CC2C66
triadic
#CC2CB6 #B6CC2C #2CB6CC
tetradic
#CC2CB6 #CC922C #2CCC42 #2C66CC
square
#CC2CB6 #CC922C #2CCC42 #2C66CC
split-complementary
#CC2CB6 #66CC2C #2CCC92
monochromatic
#67165C #9A2189 #CC2CB6 #DB5ACA #E68CDA

Accessibility & contrast

On white

4.56
#CC2CB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#CC2CB6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC2CB6
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC2CB6#FFFFFF#000000##000000
##CC2CB61.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2967BA
Deuteranopia (green-blind)
#677EB2
Tritanopia (blue-blind)
#D63C70
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cc2cb6;
/* rgb */ color: rgb(204, 44, 182);
/* oklch */ color: oklch(59.6% 0.237 334.6);
Tailwind
colors: {
  custom: {
    50: '#e078cc',
    500: '#cc2cb6',
    950: '#000000',
  },
}
SCSS
$custom: #cc2cb6;
$custom-light: #e078cc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2cb6",
  "rgb": {
    "r": 204,
    "g": 44,
    "b": 182
  },
  "hsl": {
    "h": 308.25,
    "s": 64.516,
    "l": 48.627
  },
  "oklch": {
    "l": 0.59633,
    "c": 0.23673,
    "h": 334.6
  },
  "luminance": 0.18016
}

Semantic roles & 50–950 ramp

primary
#CC2CB6
secondary
#83D08E
accent
#E85740
background
#FEF7FC
surface
#FCEEF9
border
#D5C9D2
text
#160A13
muted
#847C82

Preview Lab

Preview with #CC2CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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