#CC5F8A#CC5F8A

#CC5F8A is a light, vivid pink. Relative luminance 0.229; OKLCH L 63.0% C 0.145 H 357.3°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#CC5F8A
RGBrgb(204, 95, 138)
HSLhsl(336, 52%, 59%)
HSVhsv(336, 53%, 80%)
CMYKcmyk(0%, 53.4%, 32.4%, 20%)
CIE-LABlab(54.93, 47.76, -2.87)
CIE-LCHlch(54.93, 47.84, 356.56°)
OKLaboklab(63.04% 0.1451 -0.0069)
OKLCHoklch(63.04% 0.145 357.3)
XYZxyz(33.5830, 22.8600, 26.6836)
Luminance0.2286 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5F8A #5FCCA1
analogous
#CC5FC1 #CC5F8A #CC6A5F
triadic
#CC5F8A #8ACC5F #5F8ACC
tetradic
#CC5F8A #C1CC5F #5FCCA1 #6A5FCC
square
#CC5F8A #C1CC5F #5FCCA1 #6A5FCC
split-complementary
#CC5F8A #5FCC6A #5FC1CC
monochromatic
#862B4F #B4396A #CC5F8A #DB8DAC #EABCCE

Accessibility & contrast

On white

3.77
#CC5F8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#CC5F8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5F8A
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5F8A#FFFFFF#000000##000000
##CC5F8A1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F778B
Deuteranopia (green-blind)
#8C8B87
Tritanopia (blue-blind)
#DA586F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cc5f8a;
/* rgb */ color: rgb(204, 95, 138);
/* oklch */ color: oklch(63.0% 0.145 357.3);
Tailwind
colors: {
  custom: {
    50: '#df90ac',
    500: '#cc5f8a',
    950: '#000000',
  },
}
SCSS
$custom: #cc5f8a;
$custom-light: #df90ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5f8a",
  "rgb": {
    "r": 204,
    "g": 95,
    "b": 138
  },
  "hsl": {
    "h": 336.33,
    "s": 51.659,
    "l": 58.627
  },
  "oklch": {
    "l": 0.63035,
    "c": 0.14529,
    "h": 357.3
  },
  "luminance": 0.22857
}

Semantic roles & 50–950 ramp

primary
#CC5F8A
secondary
#AED9C8
accent
#DBA34D
background
#FEF9FA
surface
#FCF1F4
border
#D5CBCE
text
#160D10
muted
#847E7F

Preview Lab

Preview with #CC5F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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