#CC2BB8#CC2BB8

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

Color values

HEX#CC2BB8
RGBrgb(204, 43, 184)
HSLhsl(307, 65%, 48%)
HSVhsv(307, 79%, 80%)
CMYKcmyk(0%, 78.9%, 9.8%, 20%)
CIE-LABlab(49.53, 73.92, -38.17)
CIE-LCHlch(49.53, 83.20, 332.69°)
OKLaboklab(59.67% 0.2148 -0.1047)
OKLCHoklch(59.67% 0.239 334)
XYZxyz(34.4178, 18.0289, 47.0054)
Luminance0.1803 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2BB8 #2BCC3F
analogous
#8F2BCC #CC2BB8 #CC2B68
triadic
#CC2BB8 #B8CC2B #2BB8CC
tetradic
#CC2BB8 #CC8F2B #2BCC3F #2B68CC
square
#CC2BB8 #CC8F2B #2BCC3F #2B68CC
split-complementary
#CC2BB8 #68CC2B #2BCC8F
monochromatic
#67165D #99208A #CC2BB8 #DC58CC #E78BDB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC2BB8#FFFFFF#000000##000000
##CC2BB81.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2667BC
Deuteranopia (green-blind)
#667EB4
Tritanopia (blue-blind)
#D63C71
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cc2bb8;
/* rgb */ color: rgb(204, 43, 184);
/* oklch */ color: oklch(59.7% 0.239 334.0);
Tailwind
colors: {
  custom: {
    50: '#e078ce',
    500: '#cc2bb8',
    950: '#000000',
  },
}
SCSS
$custom: #cc2bb8;
$custom-light: #e078ce;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2bb8",
  "rgb": {
    "r": 204,
    "g": 43,
    "b": 184
  },
  "hsl": {
    "h": 307.453,
    "s": 65.182,
    "l": 48.431
  },
  "oklch": {
    "l": 0.59674,
    "c": 0.23892,
    "h": 334
  },
  "luminance": 0.18026
}

Semantic roles & 50–950 ramp

primary
#CC2BB8
secondary
#82D08C
accent
#E85540
background
#FEF7FC
surface
#FCEEF9
border
#D5C9D2
text
#160A13
muted
#847C82

Preview Lab

Preview with #CC2BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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