#CC56AB#CC56AB

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

Color values

HEX#CC56AB
RGBrgb(204, 86, 171)
HSLhsl(317, 54%, 57%)
HSVhsv(317, 58%, 80%)
CMYKcmyk(0%, 57.8%, 16.2%, 20%)
CIE-LABlab(54.49, 56.53, -22.87)
CIE-LCHlch(54.49, 60.98, 337.98°)
OKLaboklab(63.09% 0.1671 -0.0615)
OKLCHoklch(63.09% 0.178 339.8)
XYZxyz(35.5810, 22.4362, 40.9768)
Luminance0.2243 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC56AB #56CC77
analogous
#B256CC #CC56AB #CC5670
triadic
#CC56AB #ABCC56 #56ABCC
tetradic
#CC56AB #CCB256 #56CC77 #5670CC
square
#CC56AB #CCB256 #56CC77 #5670CC
split-complementary
#CC56AB #70CC56 #56CCB2
monochromatic
#812768 #B0358D #CC56AB #DA85C2 #E8B4DA

Accessibility & contrast

On white

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

On black

5.49
#CC56AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC56AB
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC56AB#FFFFFF#000000##000000
##CC56AB1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C76AE
Deuteranopia (green-blind)
#7E89A8
Tritanopia (blue-blind)
#D75979
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cc56ab;
/* rgb */ color: rgb(204, 86, 171);
/* oklch */ color: oklch(63.1% 0.178 339.8);
Tailwind
colors: {
  custom: {
    50: '#de8bc4',
    500: '#cc56ab',
    950: '#000000',
  },
}
SCSS
$custom: #cc56ab;
$custom-light: #de8bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc56ab",
  "rgb": {
    "r": 204,
    "g": 86,
    "b": 171
  },
  "hsl": {
    "h": 316.78,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.63085,
    "c": 0.17807,
    "h": 339.8
  },
  "luminance": 0.22433
}

Semantic roles & 50–950 ramp

primary
#CC56AB
secondary
#A7D7B4
accent
#DD744B
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C12
muted
#847D81

Preview Lab

Preview with #CC56AB

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

Preview Lab → · Contrast checker → · Palette generator →

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