#CC2CB4#CC2CB4

#CC2CB4 is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.5% C 0.235 H 335.3°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#CC2CB4
RGBrgb(204, 44, 180)
HSLhsl(309, 65%, 49%)
HSVhsv(309, 78%, 80%)
CMYKcmyk(0%, 78.4%, 11.8%, 20%)
CIE-LABlab(49.42, 73.10, -36.01)
CIE-LCHlch(49.42, 81.48, 333.78°)
OKLaboklab(59.53% 0.2138 -0.0985)
OKLCHoklch(59.53% 0.235 335.3)
XYZxyz(34.0412, 17.9372, 44.8406)
Luminance0.1793 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2CB4 #2CCC44
analogous
#942CCC #CC2CB4 #CC2C64
triadic
#CC2CB4 #B4CC2C #2CB4CC
tetradic
#CC2CB4 #CC942C #2CCC44 #2C64CC
square
#CC2CB4 #CC942C #2CCC44 #2C64CC
split-complementary
#CC2CB4 #64CC2C #2CCC94
monochromatic
#67165B #9A2188 #CC2CB4 #DB5AC8 #E68CD9

Accessibility & contrast

On white

4.58
#CC2CB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#CC2CB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC2CB4
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC2CB4#FFFFFF#000000##000000
##CC2CB41.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C66B8
Deuteranopia (green-blind)
#687EB0
Tritanopia (blue-blind)
#D63B6F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cc2cb4;
/* rgb */ color: rgb(204, 44, 180);
/* oklch */ color: oklch(59.5% 0.235 335.3);
Tailwind
colors: {
  custom: {
    50: '#e078cb',
    500: '#cc2cb4',
    950: '#000000',
  },
}
SCSS
$custom: #cc2cb4;
$custom-light: #e078cb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2cb4",
  "rgb": {
    "r": 204,
    "g": 44,
    "b": 180
  },
  "hsl": {
    "h": 309,
    "s": 64.516,
    "l": 48.627
  },
  "oklch": {
    "l": 0.59529,
    "c": 0.23539,
    "h": 335.3
  },
  "luminance": 0.17934
}

Semantic roles & 50–950 ramp

primary
#CC2CB4
secondary
#83D08F
accent
#E85940
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #CC2CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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