#CC5AB2#CC5AB2

#CC5AB2 is a light, vivid pink. Relative luminance 0.234; OKLCH L 63.9% C 0.177 H 337.1°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#CC5AB2
RGBrgb(204, 90, 178)
HSLhsl(314, 53%, 58%)
HSVhsv(314, 56%, 80%)
CMYKcmyk(0%, 55.9%, 12.7%, 20%)
CIE-LABlab(55.45, 55.78, -25.45)
CIE-LCHlch(55.45, 61.31, 335.47°)
OKLaboklab(63.89% 0.1632 -0.0688)
OKLCHoklch(63.89% 0.177 337.1)
XYZxyz(36.5943, 23.3669, 44.6937)
Luminance0.2336 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5AB2 #5ACC74
analogous
#AD5ACC #CC5AB2 #CC5A79
triadic
#CC5AB2 #B2CC5A #5AB2CC
tetradic
#CC5AB2 #CCAD5A #5ACC74 #5A79CC
square
#CC5AB2 #CCAD5A #5ACC74 #5A79CC
split-complementary
#CC5AB2 #79CC5A #5ACCAD
monochromatic
#83296E #B23796 #CC5AB2 #DA89C8 #E9B7DE

Accessibility & contrast

On white

3.70
#CC5AB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#CC5AB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5AB2
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5AB2#FFFFFF#000000##000000
##CC5AB21.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7AB5
Deuteranopia (green-blind)
#7E8BAF
Tritanopia (blue-blind)
#D65F7E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cc5ab2;
/* rgb */ color: rgb(204, 90, 178);
/* oklch */ color: oklch(63.9% 0.177 337.1);
Tailwind
colors: {
  custom: {
    50: '#de8ec9',
    500: '#cc5ab2',
    950: '#000000',
  },
}
SCSS
$custom: #cc5ab2;
$custom-light: #de8ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5ab2",
  "rgb": {
    "r": 204,
    "g": 90,
    "b": 178
  },
  "hsl": {
    "h": 313.684,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.63887,
    "c": 0.17705,
    "h": 337.1
  },
  "luminance": 0.23364
}

Semantic roles & 50–950 ramp

primary
#CC5AB2
secondary
#AAD8B4
accent
#DC6D4C
background
#FEF9FC
surface
#FCF1F8
border
#D5CBD1
text
#150D13
muted
#847E82

Preview Lab

Preview with #CC5AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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