#CC5AA1#CC5AA1

#CC5AA1 is a light, vivid pink. Relative luminance 0.227; OKLCH L 63.2% C 0.165 H 344.6°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#CC5AA1
RGBrgb(204, 90, 161)
HSLhsl(323, 53%, 58%)
HSVhsv(323, 56%, 80%)
CMYKcmyk(0%, 55.9%, 21.1%, 20%)
CIE-LABlab(54.79, 53.23, -16.57)
CIE-LCHlch(54.79, 55.75, 342.71°)
OKLaboklab(63.18% 0.1593 -0.044)
OKLCHoklch(63.18% 0.165 344.6)
XYZxyz(34.9920, 22.7259, 36.2549)
Luminance0.2272 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5AA1 #5ACC85
analogous
#BE5ACC #CC5AA1 #CC5A68
triadic
#CC5AA1 #A1CC5A #5AA1CC
tetradic
#CC5AA1 #CCBE5A #5ACC85 #5A68CC
square
#CC5AA1 #CCBE5A #5ACC85 #5A68CC
split-complementary
#CC5AA1 #68CC5A #5ACCBE
monochromatic
#832961 #B23783 #CC5AA1 #DA89BC #E9B7D6

Accessibility & contrast

On white

3.79
#CC5AA1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#CC5AA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5AA1
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5AA1#FFFFFF#000000##000000
##CC5AA11.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6477A3
Deuteranopia (green-blind)
#838A9E
Tritanopia (blue-blind)
#D85976
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cc5aa1;
/* rgb */ color: rgb(204, 90, 161);
/* oklch */ color: oklch(63.2% 0.165 344.6);
Tailwind
colors: {
  custom: {
    50: '#de8ebd',
    500: '#cc5aa1',
    950: '#000000',
  },
}
SCSS
$custom: #cc5aa1;
$custom-light: #de8ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5aa1",
  "rgb": {
    "r": 204,
    "g": 90,
    "b": 161
  },
  "hsl": {
    "h": 322.632,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.63183,
    "c": 0.16522,
    "h": 344.6
  },
  "luminance": 0.22723
}

Semantic roles & 50–950 ramp

primary
#CC5AA1
secondary
#AAD8BB
accent
#DC824C
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160D12
muted
#847D81

Preview Lab

Preview with #CC5AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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