#CC5BA5#CC5BA5

#CC5BA5 is a light, vivid pink. Relative luminance 0.230; OKLCH L 63.5% C 0.166 H 342.8°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#CC5BA5
RGBrgb(204, 91, 165)
HSLhsl(321, 53%, 58%)
HSVhsv(321, 55%, 80%)
CMYKcmyk(0%, 55.4%, 19.1%, 20%)
CIE-LABlab(55.11, 53.34, -18.41)
CIE-LCHlch(55.11, 56.43, 340.95°)
OKLaboklab(63.47% 0.1589 -0.0491)
OKLCHoklch(63.47% 0.166 342.8)
XYZxyz(35.4353, 23.0391, 38.1707)
Luminance0.2304 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5BA5 #5BCC82
analogous
#BA5BCC #CC5BA5 #CC5B6C
triadic
#CC5BA5 #A5CC5B #5BA5CC
tetradic
#CC5BA5 #CCBA5B #5BCC82 #5B6CCC
square
#CC5BA5 #CCBA5B #5BCC82 #5B6CCC
split-complementary
#CC5BA5 #6CCC5B #5BCCBA
monochromatic
#842964 #B23788 #CC5BA5 #DB8ABF #E9B8D8

Accessibility & contrast

On white

3.75
#CC5BA5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#CC5BA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5BA5
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5BA5#FFFFFF#000000##000000
##CC5BA51.003.755.615.61
#FFFFFF3.751.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6378A7
Deuteranopia (green-blind)
#838BA2
Tritanopia (blue-blind)
#D75B79
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cc5ba5;
/* rgb */ color: rgb(204, 91, 165);
/* oklch */ color: oklch(63.5% 0.166 342.8);
Tailwind
colors: {
  custom: {
    50: '#de8ebf',
    500: '#cc5ba5',
    950: '#000000',
  },
}
SCSS
$custom: #cc5ba5;
$custom-light: #de8ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5ba5",
  "rgb": {
    "r": 204,
    "g": 91,
    "b": 165
  },
  "hsl": {
    "h": 320.708,
    "s": 52.558,
    "l": 57.843
  },
  "oklch": {
    "l": 0.63472,
    "c": 0.16628,
    "h": 342.8
  },
  "luminance": 0.23036
}

Semantic roles & 50–950 ramp

primary
#CC5BA5
secondary
#ABD8BA
accent
#DC7E4C
background
#FEF9FB
surface
#FCF1F7
border
#D5CBD0
text
#150D12
muted
#847E81

Preview Lab

Preview with #CC5BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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