#CC56B2#CC56B2

#CC56B2 is a light, vivid pink. Relative luminance 0.227; OKLCH L 63.4% C 0.183 H 337.0°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#CC56B2
RGBrgb(204, 86, 178)
HSLhsl(313, 54%, 57%)
HSVhsv(313, 58%, 80%)
CMYKcmyk(0%, 57.8%, 12.7%, 20%)
CIE-LABlab(54.77, 57.60, -26.49)
CIE-LCHlch(54.77, 63.40, 335.30°)
OKLaboklab(63.39% 0.1685 -0.0717)
OKLCHoklch(63.39% 0.183 337)
XYZxyz(36.2659, 22.7101, 44.5843)
Luminance0.2271 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC56B2 #56CC70
analogous
#AB56CC #CC56B2 #CC5677
triadic
#CC56B2 #B2CC56 #56B2CC
tetradic
#CC56B2 #CCAB56 #56CC70 #5677CC
square
#CC56B2 #CCAB56 #56CC70 #5677CC
split-complementary
#CC56B2 #77CC56 #56CCAB
monochromatic
#81276D #B03595 #CC56B2 #DA85C7 #E8B4DD

Accessibility & contrast

On white

3.79
#CC56B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#CC56B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC56B2
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC56B2#FFFFFF#000000##000000
##CC56B21.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5878B5
Deuteranopia (green-blind)
#7C8AAF
Tritanopia (blue-blind)
#D65B7C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cc56b2;
/* rgb */ color: rgb(204, 86, 178);
/* oklch */ color: oklch(63.4% 0.183 337.0);
Tailwind
colors: {
  custom: {
    50: '#de8cc9',
    500: '#cc56b2',
    950: '#000000',
  },
}
SCSS
$custom: #cc56b2;
$custom-light: #de8cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc56b2",
  "rgb": {
    "r": 204,
    "g": 86,
    "b": 178
  },
  "hsl": {
    "h": 313.22,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.63389,
    "c": 0.18314,
    "h": 337
  },
  "luminance": 0.22707
}

Semantic roles & 50–950 ramp

primary
#CC56B2
secondary
#A7D7B1
accent
#DD6B4B
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#150C13
muted
#847D82

Preview Lab

Preview with #CC56B2

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

Preview Lab → · Contrast checker → · Palette generator →

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