#CC5E9D#CC5E9D

#CC5E9D is a light, vivid pink. Relative luminance 0.233; OKLCH L 63.6% C 0.156 H 347.0°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#CC5E9D
RGBrgb(204, 94, 157)
HSLhsl(326, 52%, 58%)
HSVhsv(326, 54%, 80%)
CMYKcmyk(0%, 53.9%, 23%, 20%)
CIE-LABlab(55.36, 50.77, -13.37)
CIE-LCHlch(55.36, 52.50, 345.25°)
OKLaboklab(63.56% 0.1525 -0.0352)
OKLCHoklch(63.56% 0.156 347)
XYZxyz(34.9914, 23.2801, 34.5424)
Luminance0.2328 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5E9D #5ECC8D
analogous
#C45ECC #CC5E9D #CC5E66
triadic
#CC5E9D #9DCC5E #5E9DCC
tetradic
#CC5E9D #CCC45E #5ECC8D #5E66CC
square
#CC5E9D #CCC45E #5ECC8D #5E66CC
split-complementary
#CC5E9D #66CC5E #5ECCC4
monochromatic
#852A5E #B4397F #CC5E9D #DB8CB9 #E9BBD6

Accessibility & contrast

On white

3.71
#CC5E9D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#CC5E9D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5E9D
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5E9D#FFFFFF#000000##000000
##CC5E9D1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#69799F
Deuteranopia (green-blind)
#878C9A
Tritanopia (blue-blind)
#D85C76
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cc5e9d;
/* rgb */ color: rgb(204, 94, 157);
/* oklch */ color: oklch(63.6% 0.156 347.0);
Tailwind
colors: {
  custom: {
    50: '#de90ba',
    500: '#cc5e9d',
    950: '#000000',
  },
}
SCSS
$custom: #cc5e9d;
$custom-light: #de90ba;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5e9d",
  "rgb": {
    "r": 204,
    "g": 94,
    "b": 157
  },
  "hsl": {
    "h": 325.636,
    "s": 51.887,
    "l": 58.431
  },
  "oklch": {
    "l": 0.6356,
    "c": 0.15648,
    "h": 347
  },
  "luminance": 0.23277
}

Semantic roles & 50–950 ramp

primary
#CC5E9D
secondary
#ADD9C0
accent
#DB8A4C
background
#FEF9FB
surface
#FCF1F6
border
#D5CBD0
text
#150D11
muted
#847E80

Preview Lab

Preview with #CC5E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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