#CC56B4#CC56B4

#CC56B4 is a light, vivid pink. Relative luminance 0.228; OKLCH L 63.5% C 0.185 H 336.2°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#CC56B4
RGBrgb(204, 86, 180)
HSLhsl(312, 54%, 57%)
HSVhsv(312, 58%, 80%)
CMYKcmyk(0%, 57.8%, 11.8%, 20%)
CIE-LABlab(54.86, 57.91, -27.52)
CIE-LCHlch(54.86, 64.12, 334.58°)
OKLaboklab(63.48% 0.1689 -0.0746)
OKLCHoklch(63.48% 0.185 336.2)
XYZxyz(36.4682, 22.7910, 45.6495)
Luminance0.2279 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC56B4 #56CC6E
analogous
#A956CC #CC56B4 #CC5679
triadic
#CC56B4 #B4CC56 #56B4CC
tetradic
#CC56B4 #CCA956 #56CC6E #5679CC
square
#CC56B4 #CCA956 #56CC6E #5679CC
split-complementary
#CC56B4 #79CC56 #56CCA9
monochromatic
#81276E #B03597 #CC56B4 #DA85C9 #E8B4DE

Accessibility & contrast

On white

3.78
#CC56B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#CC56B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC56B4
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC56B4#FFFFFF#000000##000000
##CC56B41.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5778B7
Deuteranopia (green-blind)
#7B8AB1
Tritanopia (blue-blind)
#D65C7D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cc56b4;
/* rgb */ color: rgb(204, 86, 180);
/* oklch */ color: oklch(63.5% 0.185 336.2);
Tailwind
colors: {
  custom: {
    50: '#de8cca',
    500: '#cc56b4',
    950: '#000000',
  },
}
SCSS
$custom: #cc56b4;
$custom-light: #de8cca;
$custom-dark: #000000;
JSON
{
  "hex": "#cc56b4",
  "rgb": {
    "r": 204,
    "g": 86,
    "b": 180
  },
  "hsl": {
    "h": 312.203,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.63478,
    "c": 0.18463,
    "h": 336.2
  },
  "luminance": 0.22788
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC56B4

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

Preview Lab → · Contrast checker → · Palette generator →

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