#CC56A2#CC56A2

#CC56A2 is a light, vivid pink. Relative luminance 0.221; OKLCH L 62.7% C 0.172 H 343.7°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#CC56A2
RGBrgb(204, 86, 162)
HSLhsl(321, 54%, 57%)
HSVhsv(321, 58%, 80%)
CMYKcmyk(0%, 57.8%, 20.6%, 20%)
CIE-LABlab(54.14, 55.22, -18.15)
CIE-LCHlch(54.14, 58.12, 341.81°)
OKLaboklab(62.71% 0.1651 -0.0483)
OKLCHoklch(62.71% 0.172 343.7)
XYZxyz(34.7521, 22.1046, 36.6118)
Luminance0.2210 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC56A2 #56CC80
analogous
#BB56CC #CC56A2 #CC5667
triadic
#CC56A2 #A2CC56 #56A2CC
tetradic
#CC56A2 #CCBB56 #56CC80 #5667CC
square
#CC56A2 #CCBB56 #56CC80 #5667CC
split-complementary
#CC56A2 #67CC56 #56CCBB
monochromatic
#812761 #B03584 #CC56A2 #DA85BC #E8B4D6

Accessibility & contrast

On white

3.87
#CC56A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#CC56A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC56A2
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC56A2#FFFFFF#000000##000000
##CC56A21.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6075A4
Deuteranopia (green-blind)
#81899F
Tritanopia (blue-blind)
#D85675
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cc56a2;
/* rgb */ color: rgb(204, 86, 162);
/* oklch */ color: oklch(62.7% 0.172 343.7);
Tailwind
colors: {
  custom: {
    50: '#df8bbd',
    500: '#cc56a2',
    950: '#000000',
  },
}
SCSS
$custom: #cc56a2;
$custom-light: #df8bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc56a2",
  "rgb": {
    "r": 204,
    "g": 86,
    "b": 162
  },
  "hsl": {
    "h": 321.356,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.62713,
    "c": 0.172,
    "h": 343.7
  },
  "luminance": 0.22102
}

Semantic roles & 50–950 ramp

primary
#CC56A2
secondary
#A7D7B8
accent
#DD7F4B
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CC56A2

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

Preview Lab → · Contrast checker → · Palette generator →

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