#CC5C8D#CC5C8D

#CC5C8D is a light, vivid pink. Relative luminance 0.224; OKLCH L 62.7% C 0.151 H 354.9°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#CC5C8D
RGBrgb(204, 92, 141)
HSLhsl(334, 52%, 58%)
HSVhsv(334, 55%, 80%)
CMYKcmyk(0%, 54.9%, 30.9%, 20%)
CIE-LABlab(54.47, 49.58, -5.31)
CIE-LCHlch(54.47, 49.87, 353.88°)
OKLaboklab(62.72% 0.1506 -0.0134)
OKLCHoklch(62.72% 0.151 354.9)
XYZxyz(33.5382, 22.4180, 27.7549)
Luminance0.2241 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5C8D #5CCC9B
analogous
#CC5CC5 #CC5C8D #CC635C
triadic
#CC5C8D #8DCC5C #5C8DCC
tetradic
#CC5C8D #C5CC5C #5CCC9B #635CCC
square
#CC5C8D #C5CC5C #5CCC9B #635CCC
split-complementary
#CC5C8D #5CCC63 #5CC5CC
monochromatic
#842951 #B3386E #CC5C8D #DB8BAE #E9B9CE

Accessibility & contrast

On white

3.83
#CC5C8D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#CC5C8D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5C8D
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5C8D#FFFFFF#000000##000000
##CC5C8D1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C768F
Deuteranopia (green-blind)
#8A8A8A
Tritanopia (blue-blind)
#DA556F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cc5c8d;
/* rgb */ color: rgb(204, 92, 141);
/* oklch */ color: oklch(62.7% 0.151 354.9);
Tailwind
colors: {
  custom: {
    50: '#df8eae',
    500: '#cc5c8d',
    950: '#000000',
  },
}
SCSS
$custom: #cc5c8d;
$custom-light: #df8eae;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5c8d",
  "rgb": {
    "r": 204,
    "g": 92,
    "b": 141
  },
  "hsl": {
    "h": 333.75,
    "s": 52.336,
    "l": 58.039
  },
  "oklch": {
    "l": 0.62721,
    "c": 0.15117,
    "h": 354.9
  },
  "luminance": 0.22415
}

Semantic roles & 50–950 ramp

primary
#CC5C8D
secondary
#ACD8C5
accent
#DC9D4C
background
#FEF9FA
surface
#FCF1F4
border
#D5CBCE
text
#160D10
muted
#847E7F

Preview Lab

Preview with #CC5C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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