#CC2BB9#CC2BB9

#CC2BB9 is a mid, highly saturated purple. Relative luminance 0.181; OKLCH L 59.7% C 0.240 H 333.7°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#CC2BB9
RGBrgb(204, 43, 185)
HSLhsl(307, 65%, 48%)
HSVhsv(307, 79%, 80%)
CMYKcmyk(0%, 78.9%, 9.3%, 20%)
CIE-LABlab(49.58, 74.07, -38.68)
CIE-LCHlch(49.58, 83.56, 332.43°)
OKLaboklab(59.73% 0.2148 -0.1062)
OKLCHoklch(59.73% 0.24 333.7)
XYZxyz(34.5230, 18.0710, 47.5594)
Luminance0.1807 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2BB9 #2BCC3E
analogous
#8E2BCC #CC2BB9 #CC2B68
triadic
#CC2BB9 #B9CC2B #2BB9CC
tetradic
#CC2BB9 #CC8E2B #2BCC3E #2B68CC
square
#CC2BB9 #CC8E2B #2BCC3E #2B68CC
split-complementary
#CC2BB9 #68CC2B #2BCC8E
monochromatic
#67165D #99208B #CC2BB9 #DC58CC #E78BDC

Accessibility & contrast

On white

4.55
#CC2BB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#CC2BB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC2BB9
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC2BB9#FFFFFF#000000##000000
##CC2BB91.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2467BD
Deuteranopia (green-blind)
#667EB5
Tritanopia (blue-blind)
#D63D72
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cc2bb9;
/* rgb */ color: rgb(204, 43, 185);
/* oklch */ color: oklch(59.7% 0.240 333.7);
Tailwind
colors: {
  custom: {
    50: '#e078ce',
    500: '#cc2bb9',
    950: '#000000',
  },
}
SCSS
$custom: #cc2bb9;
$custom-light: #e078ce;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2bb9",
  "rgb": {
    "r": 204,
    "g": 43,
    "b": 185
  },
  "hsl": {
    "h": 307.081,
    "s": 65.182,
    "l": 48.431
  },
  "oklch": {
    "l": 0.59727,
    "c": 0.23959,
    "h": 333.7
  },
  "luminance": 0.18068
}

Semantic roles & 50–950 ramp

primary
#CC2BB9
secondary
#82D08C
accent
#E85440
background
#FEF7FC
surface
#FCEEF9
border
#D5C9D2
text
#160A14
muted
#847C82

Preview Lab

Preview with #CC2BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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