#CC5BAB#CC5BAB

#CC5BAB is a light, vivid pink. Relative luminance 0.233; OKLCH L 63.7% C 0.170 H 340.2°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#CC5BAB
RGBrgb(204, 91, 171)
HSLhsl(318, 53%, 58%)
HSVhsv(318, 55%, 80%)
CMYKcmyk(0%, 55.4%, 16.2%, 20%)
CIE-LABlab(55.34, 54.24, -21.55)
CIE-LCHlch(55.34, 58.36, 338.33°)
OKLaboklab(63.72% 0.1603 -0.0578)
OKLCHoklch(63.72% 0.17 340.2)
XYZxyz(35.9942, 23.2627, 41.1146)
Luminance0.2326 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5BAB #5BCC7C
analogous
#B45BCC #CC5BAB #CC5B72
triadic
#CC5BAB #ABCC5B #5BABCC
tetradic
#CC5BAB #CCB45B #5BCC7C #5B72CC
square
#CC5BAB #CCB45B #5BCC7C #5B72CC
split-complementary
#CC5BAB #72CC5B #5BCCB4
monochromatic
#842969 #B2378E #CC5BAB #DB8AC3 #E9B8DB

Accessibility & contrast

On white

3.72
#CC5BAB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#CC5BAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5BAB
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5BAB#FFFFFF#000000##000000
##CC5BAB1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6179AE
Deuteranopia (green-blind)
#818BA8
Tritanopia (blue-blind)
#D75D7B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cc5bab;
/* rgb */ color: rgb(204, 91, 171);
/* oklch */ color: oklch(63.7% 0.170 340.2);
Tailwind
colors: {
  custom: {
    50: '#de8ec4',
    500: '#cc5bab',
    950: '#000000',
  },
}
SCSS
$custom: #cc5bab;
$custom-light: #de8ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5bab",
  "rgb": {
    "r": 204,
    "g": 91,
    "b": 171
  },
  "hsl": {
    "h": 317.522,
    "s": 52.558,
    "l": 57.843
  },
  "oklch": {
    "l": 0.63717,
    "c": 0.1704,
    "h": 340.2
  },
  "luminance": 0.2326
}

Semantic roles & 50–950 ramp

primary
#CC5BAB
secondary
#ABD8B8
accent
#DC764C
background
#FEF9FC
surface
#FCF1F8
border
#D5CBD1
text
#150D12
muted
#847E81

Preview Lab

Preview with #CC5BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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