#CC56A7#CC56A7

#CC56A7 is a light, vivid pink. Relative luminance 0.223; OKLCH L 62.9% C 0.175 H 341.5°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#CC56A7
RGBrgb(204, 86, 167)
HSLhsl(319, 54%, 57%)
HSVhsv(319, 58%, 80%)
CMYKcmyk(0%, 57.8%, 18.1%, 20%)
CIE-LABlab(54.33, 55.94, -20.78)
CIE-LCHlch(54.33, 59.67, 339.62°)
OKLaboklab(62.92% 0.1663 -0.0556)
OKLCHoklch(62.92% 0.175 341.5)
XYZxyz(35.2054, 22.2860, 38.9992)
Luminance0.2228 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC56A7 #56CC7B
analogous
#B656CC #CC56A7 #CC566C
triadic
#CC56A7 #A7CC56 #56A7CC
tetradic
#CC56A7 #CCB656 #56CC7B #566CCC
square
#CC56A7 #CCB656 #56CC7B #566CCC
split-complementary
#CC56A7 #6CCC56 #56CCB6
monochromatic
#812765 #B03589 #CC56A7 #DA85BF #E8B4D8

Accessibility & contrast

On white

3.85
#CC56A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#CC56A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC56A7
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC56A7#FFFFFF#000000##000000
##CC56A71.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E76AA
Deuteranopia (green-blind)
#7F89A4
Tritanopia (blue-blind)
#D75777
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cc56a7;
/* rgb */ color: rgb(204, 86, 167);
/* oklch */ color: oklch(62.9% 0.175 341.5);
Tailwind
colors: {
  custom: {
    50: '#de8bc1',
    500: '#cc56a7',
    950: '#000000',
  },
}
SCSS
$custom: #cc56a7;
$custom-light: #de8bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc56a7",
  "rgb": {
    "r": 204,
    "g": 86,
    "b": 167
  },
  "hsl": {
    "h": 318.814,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.62917,
    "c": 0.17531,
    "h": 341.5
  },
  "luminance": 0.22283
}

Semantic roles & 50–950 ramp

primary
#CC56A7
secondary
#A7D7B6
accent
#DD794B
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CC56A7

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

Preview Lab → · Contrast checker → · Palette generator →

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