#CC5AB1#CC5AB1

#CC5AB1 is a light, vivid pink. Relative luminance 0.233; OKLCH L 63.8% C 0.176 H 337.6°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#CC5AB1
RGBrgb(204, 90, 177)
HSLhsl(314, 53%, 58%)
HSVhsv(314, 56%, 80%)
CMYKcmyk(0%, 55.9%, 13.2%, 20%)
CIE-LABlab(55.41, 55.62, -24.93)
CIE-LCHlch(55.41, 60.95, 335.85°)
OKLaboklab(63.84% 0.163 -0.0673)
OKLCHoklch(63.84% 0.176 337.6)
XYZxyz(36.4942, 23.3268, 44.1669)
Luminance0.2332 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5AB1 #5ACC75
analogous
#AE5ACC #CC5AB1 #CC5A78
triadic
#CC5AB1 #B1CC5A #5AB1CC
tetradic
#CC5AB1 #CCAE5A #5ACC75 #5A78CC
square
#CC5AB1 #CCAE5A #5ACC75 #5A78CC
split-complementary
#CC5AB1 #78CC5A #5ACCAE
monochromatic
#83296E #B23795 #CC5AB1 #DA89C7 #E9B7DD

Accessibility & contrast

On white

3.71
#CC5AB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#CC5AB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5AB1
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5AB1#FFFFFF#000000##000000
##CC5AB11.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7AB4
Deuteranopia (green-blind)
#7E8BAE
Tritanopia (blue-blind)
#D65E7E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cc5ab1;
/* rgb */ color: rgb(204, 90, 177);
/* oklch */ color: oklch(63.8% 0.176 337.6);
Tailwind
colors: {
  custom: {
    50: '#de8ec8',
    500: '#cc5ab1',
    950: '#000000',
  },
}
SCSS
$custom: #cc5ab1;
$custom-light: #de8ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5ab1",
  "rgb": {
    "r": 204,
    "g": 90,
    "b": 177
  },
  "hsl": {
    "h": 314.211,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.63844,
    "c": 0.1763,
    "h": 337.6
  },
  "luminance": 0.23324
}

Semantic roles & 50–950 ramp

primary
#CC5AB1
secondary
#AAD8B5
accent
#DC6E4C
background
#FEF9FC
surface
#FCF1F8
border
#D5CBD1
text
#150D13
muted
#847E82

Preview Lab

Preview with #CC5AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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