#CC5AB4#CC5AB4

#CC5AB4 is a light, vivid pink. Relative luminance 0.234; OKLCH L 64.0% C 0.179 H 336.3°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#CC5AB4
RGBrgb(204, 90, 180)
HSLhsl(313, 53%, 58%)
HSVhsv(313, 56%, 80%)
CMYKcmyk(0%, 55.9%, 11.8%, 20%)
CIE-LABlab(55.53, 56.09, -26.48)
CIE-LCHlch(55.53, 62.03, 334.73°)
OKLaboklab(63.98% 0.1635 -0.0717)
OKLCHoklch(63.98% 0.179 336.3)
XYZxyz(36.7965, 23.4478, 45.7590)
Luminance0.2344 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5AB4 #5ACC72
analogous
#AB5ACC #CC5AB4 #CC5A7B
triadic
#CC5AB4 #B4CC5A #5AB4CC
tetradic
#CC5AB4 #CCAB5A #5ACC72 #5A7BCC
square
#CC5AB4 #CCAB5A #5ACC72 #5A7BCC
split-complementary
#CC5AB4 #7BCC5A #5ACCAB
monochromatic
#832970 #B23798 #CC5AB4 #DA89C9 #E9B7DE

Accessibility & contrast

On white

3.69
#CC5AB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#CC5AB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5AB4
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5AB4#FFFFFF#000000##000000
##CC5AB41.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C7AB7
Deuteranopia (green-blind)
#7D8BB1
Tritanopia (blue-blind)
#D55F7F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cc5ab4;
/* rgb */ color: rgb(204, 90, 180);
/* oklch */ color: oklch(64.0% 0.179 336.3);
Tailwind
colors: {
  custom: {
    50: '#de8eca',
    500: '#cc5ab4',
    950: '#000000',
  },
}
SCSS
$custom: #cc5ab4;
$custom-light: #de8eca;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5ab4",
  "rgb": {
    "r": 204,
    "g": 90,
    "b": 180
  },
  "hsl": {
    "h": 312.632,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.63975,
    "c": 0.17856,
    "h": 336.3
  },
  "luminance": 0.23445
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC5AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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