#CC5D8D#CC5D8D

#CC5D8D is a light, vivid pink. Relative luminance 0.226; OKLCH L 62.9% C 0.150 H 355.1°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#CC5D8D
RGBrgb(204, 93, 141)
HSLhsl(334, 52%, 58%)
HSVhsv(334, 54%, 80%)
CMYKcmyk(0%, 54.4%, 30.9%, 20%)
CIE-LABlab(54.65, 49.10, -5.04)
CIE-LCHlch(54.65, 49.36, 354.13°)
OKLaboklab(62.86% 0.1491 -0.0127)
OKLCHoklch(62.86% 0.15 355.1)
XYZxyz(33.6254, 22.5924, 27.7840)
Luminance0.2259 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5D8D #5DCC9C
analogous
#CC5DC4 #CC5D8D #CC645D
triadic
#CC5D8D #8DCC5D #5D8DCC
tetradic
#CC5D8D #C4CC5D #5DCC9C #645DCC
square
#CC5D8D #C4CC5D #5DCC9C #645DCC
split-complementary
#CC5D8D #5DCC64 #5DC4CC
monochromatic
#852A51 #B3386E #CC5D8D #DB8CAE #E9BACF

Accessibility & contrast

On white

3.81
#CC5D8D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#CC5D8D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5D8D
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5D8D#FFFFFF#000000##000000
##CC5D8D1.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D768F
Deuteranopia (green-blind)
#8A8A8A
Tritanopia (blue-blind)
#DA566F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cc5d8d;
/* rgb */ color: rgb(204, 93, 141);
/* oklch */ color: oklch(62.9% 0.150 355.1);
Tailwind
colors: {
  custom: {
    50: '#df8fae',
    500: '#cc5d8d',
    950: '#000000',
  },
}
SCSS
$custom: #cc5d8d;
$custom-light: #df8fae;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5d8d",
  "rgb": {
    "r": 204,
    "g": 93,
    "b": 141
  },
  "hsl": {
    "h": 334.054,
    "s": 52.113,
    "l": 58.235
  },
  "oklch": {
    "l": 0.62857,
    "c": 0.14964,
    "h": 355.1
  },
  "luminance": 0.22589
}

Semantic roles & 50–950 ramp

primary
#CC5D8D
secondary
#ACD9C5
accent
#DC9E4C
background
#FEF9FA
surface
#FCF1F4
border
#D5CBCE
text
#160D10
muted
#847E7F

Preview Lab

Preview with #CC5D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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