#CC2BB5#CC2BB5

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

Color values

HEX#CC2BB5
RGBrgb(204, 43, 181)
HSLhsl(309, 65%, 48%)
HSVhsv(309, 79%, 80%)
CMYKcmyk(0%, 78.9%, 11.3%, 20%)
CIE-LABlab(49.38, 73.50, -36.65)
CIE-LCHlch(49.38, 82.13, 333.49°)
OKLaboklab(59.52% 0.2146 -0.1003)
OKLCHoklch(59.52% 0.237 334.9)
XYZxyz(34.1067, 17.9045, 45.3667)
Luminance0.1790 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2BB5 #2BCC42
analogous
#922BCC #CC2BB5 #CC2B65
triadic
#CC2BB5 #B5CC2B #2BB5CC
tetradic
#CC2BB5 #CC922B #2BCC42 #2B65CC
square
#CC2BB5 #CC922B #2BCC42 #2B65CC
split-complementary
#CC2BB5 #65CC2B #2BCC92
monochromatic
#67165B #992088 #CC2BB5 #DC58C9 #E78BD9

Accessibility & contrast

On white

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

On black

4.58
#CC2BB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC2BB5
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC2BB5#FFFFFF#000000##000000
##CC2BB51.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc2bb5;
/* rgb */ color: rgb(204, 43, 181);
/* oklch */ color: oklch(59.5% 0.237 334.9);
Tailwind
colors: {
  custom: {
    50: '#e078cb',
    500: '#cc2bb5',
    950: '#000000',
  },
}
SCSS
$custom: #cc2bb5;
$custom-light: #e078cb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2bb5",
  "rgb": {
    "r": 204,
    "g": 43,
    "b": 181
  },
  "hsl": {
    "h": 308.571,
    "s": 65.182,
    "l": 48.431
  },
  "oklch": {
    "l": 0.59517,
    "c": 0.23692,
    "h": 334.9
  },
  "luminance": 0.17901
}

Semantic roles & 50–950 ramp

primary
#CC2BB5
secondary
#82D08E
accent
#E85840
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #CC2BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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