#CC5D8A#CC5D8A

#CC5D8A is a light, vivid pink. Relative luminance 0.225; OKLCH L 62.8% C 0.148 H 356.8°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#CC5D8A
RGBrgb(204, 93, 138)
HSLhsl(336, 52%, 58%)
HSVhsv(336, 54%, 80%)
CMYKcmyk(0%, 54.4%, 32.4%, 20%)
CIE-LABlab(54.56, 48.72, -3.41)
CIE-LCHlch(54.56, 48.84, 355.99°)
OKLaboklab(62.76% 0.1481 -0.0083)
OKLCHoklch(62.76% 0.148 356.8)
XYZxyz(33.4052, 22.5043, 26.6243)
Luminance0.2250 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5D8A #5DCC9F
analogous
#CC5DC1 #CC5D8A #CC675D
triadic
#CC5D8A #8ACC5D #5D8ACC
tetradic
#CC5D8A #C1CC5D #5DCC9F #675DCC
square
#CC5D8A #C1CC5D #5DCC9F #675DCC
split-complementary
#CC5D8A #5DCC67 #5DC1CC
monochromatic
#852A4F #B3386A #CC5D8A #DB8CAC #E9BACD

Accessibility & contrast

On white

3.82
#CC5D8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#CC5D8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5D8A
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5D8A#FFFFFF#000000##000000
##CC5D8A1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E768B
Deuteranopia (green-blind)
#8B8A87
Tritanopia (blue-blind)
#DA566E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cc5d8a;
/* rgb */ color: rgb(204, 93, 138);
/* oklch */ color: oklch(62.8% 0.148 356.8);
Tailwind
colors: {
  custom: {
    50: '#df8fac',
    500: '#cc5d8a',
    950: '#000000',
  },
}
SCSS
$custom: #cc5d8a;
$custom-light: #df8fac;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5d8a",
  "rgb": {
    "r": 204,
    "g": 93,
    "b": 138
  },
  "hsl": {
    "h": 335.676,
    "s": 52.113,
    "l": 58.235
  },
  "oklch": {
    "l": 0.62758,
    "c": 0.14836,
    "h": 356.8
  },
  "luminance": 0.22501
}

Semantic roles & 50–950 ramp

primary
#CC5D8A
secondary
#ACD9C7
accent
#DCA14C
background
#FEF9FA
surface
#FCF1F4
border
#D5CBCE
text
#160D10
muted
#847E7F

Preview Lab

Preview with #CC5D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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