#CC54B2#CC54B2

#CC54B2 is a light, vivid pink. Relative luminance 0.224; OKLCH L 63.1% C 0.186 H 336.9°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#CC54B2
RGBrgb(204, 84, 178)
HSLhsl(313, 54%, 56%)
HSVhsv(313, 59%, 80%)
CMYKcmyk(0%, 58.8%, 12.7%, 20%)
CIE-LABlab(54.44, 58.49, -27.00)
CIE-LCHlch(54.44, 64.42, 335.22°)
OKLaboklab(63.15% 0.1712 -0.0731)
OKLCHoklch(63.15% 0.186 336.9)
XYZxyz(36.1085, 22.3952, 44.5318)
Luminance0.2239 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC54B2 #54CC6E
analogous
#AA54CC #CC54B2 #CC5476
triadic
#CC54B2 #B2CC54 #54B2CC
tetradic
#CC54B2 #CCAA54 #54CC6E #5476CC
square
#CC54B2 #CCAA54 #54CC6E #5476CC
split-complementary
#CC54B2 #76CC54 #54CCAA
monochromatic
#80266C #AF3494 #CC54B2 #DA83C7 #E8B2DC

Accessibility & contrast

On white

3.83
#CC54B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#CC54B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC54B2
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC54B2#FFFFFF#000000##000000
##CC54B21.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5677B5
Deuteranopia (green-blind)
#7B89AF
Tritanopia (blue-blind)
#D6597B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cc54b2;
/* rgb */ color: rgb(204, 84, 178);
/* oklch */ color: oklch(63.1% 0.186 336.9);
Tailwind
colors: {
  custom: {
    50: '#de8ac9',
    500: '#cc54b2',
    950: '#000000',
  },
}
SCSS
$custom: #cc54b2;
$custom-light: #de8ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc54b2",
  "rgb": {
    "r": 204,
    "g": 84,
    "b": 178
  },
  "hsl": {
    "h": 313,
    "s": 54.054,
    "l": 56.471
  },
  "oklch": {
    "l": 0.63147,
    "c": 0.18612,
    "h": 336.9
  },
  "luminance": 0.22392
}

Semantic roles & 50–950 ramp

primary
#CC54B2
secondary
#A5D7B0
accent
#DD6A4A
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CC54B2

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

Preview Lab → · Contrast checker → · Palette generator →

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