#CC5AAB#CC5AAB

#CC5AAB is a light, vivid pink. Relative luminance 0.231; OKLCH L 63.6% C 0.172 H 340.1°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#CC5AAB
RGBrgb(204, 90, 171)
HSLhsl(317, 53%, 58%)
HSVhsv(317, 56%, 80%)
CMYKcmyk(0%, 55.9%, 16.2%, 20%)
CIE-LABlab(55.17, 54.70, -21.82)
CIE-LCHlch(55.17, 58.89, 338.25°)
OKLaboklab(63.59% 0.1617 -0.0586)
OKLCHoklch(63.59% 0.172 340.1)
XYZxyz(35.9093, 23.0929, 41.0863)
Luminance0.2309 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5AAB #5ACC7B
analogous
#B45ACC #CC5AAB #CC5A72
triadic
#CC5AAB #ABCC5A #5AABCC
tetradic
#CC5AAB #CCB45A #5ACC7B #5A72CC
square
#CC5AAB #CCB45A #5ACC7B #5A72CC
split-complementary
#CC5AAB #72CC5A #5ACCB4
monochromatic
#832969 #B2378E #CC5AAB #DA89C3 #E9B7DB

Accessibility & contrast

On white

3.74
#CC5AAB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#CC5AAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5AAB
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5AAB#FFFFFF#000000##000000
##CC5AAB1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6079AE
Deuteranopia (green-blind)
#808BA8
Tritanopia (blue-blind)
#D75C7B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cc5aab;
/* rgb */ color: rgb(204, 90, 171);
/* oklch */ color: oklch(63.6% 0.172 340.1);
Tailwind
colors: {
  custom: {
    50: '#de8ec4',
    500: '#cc5aab',
    950: '#000000',
  },
}
SCSS
$custom: #cc5aab;
$custom-light: #de8ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5aab",
  "rgb": {
    "r": 204,
    "g": 90,
    "b": 171
  },
  "hsl": {
    "h": 317.368,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.63588,
    "c": 0.17195,
    "h": 340.1
  },
  "luminance": 0.2309
}

Semantic roles & 50–950 ramp

primary
#CC5AAB
secondary
#AAD8B7
accent
#DC754C
background
#FEF9FC
surface
#FCF1F8
border
#D5CBD1
text
#150D12
muted
#847E81

Preview Lab

Preview with #CC5AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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