#CC5EB9#CC5EB9

#CC5EB9 is a light, vivid pink. Relative luminance 0.243; OKLCH L 64.7% C 0.176 H 334.5°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#CC5EB9
RGBrgb(204, 94, 185)
HSLhsl(310, 52%, 58%)
HSVhsv(310, 54%, 80%)
CMYKcmyk(0%, 53.9%, 9.3%, 20%)
CIE-LABlab(56.43, 55.03, -27.96)
CIE-LCHlch(56.43, 61.73, 333.06°)
OKLaboklab(64.71% 0.159 -0.0759)
OKLCHoklch(64.71% 0.176 334.5)
XYZxyz(37.6616, 24.3482, 48.6056)
Luminance0.2435 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5EB9 #5ECC71
analogous
#A85ECC #CC5EB9 #CC5E82
triadic
#CC5EB9 #B9CC5E #5EB9CC
tetradic
#CC5EB9 #CCA85E #5ECC71 #5E82CC
square
#CC5EB9 #CCA85E #5ECC71 #5E82CC
split-complementary
#CC5EB9 #82CC5E #5ECCA8
monochromatic
#852A76 #B4399F #CC5EB9 #DB8CCD #E9BBE1

Accessibility & contrast

On white

3.58
#CC5EB9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#CC5EB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5EB9
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5EB9#FFFFFF#000000##000000
##CC5EB91.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7DBC
Deuteranopia (green-blind)
#7E8DB6
Tritanopia (blue-blind)
#D56483
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cc5eb9;
/* rgb */ color: rgb(204, 94, 185);
/* oklch */ color: oklch(64.7% 0.176 334.5);
Tailwind
colors: {
  custom: {
    50: '#de90ce',
    500: '#cc5eb9',
    950: '#000000',
  },
}
SCSS
$custom: #cc5eb9;
$custom-light: #de90ce;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5eb9",
  "rgb": {
    "r": 204,
    "g": 94,
    "b": 185
  },
  "hsl": {
    "h": 310.364,
    "s": 51.887,
    "l": 58.431
  },
  "oklch": {
    "l": 0.64711,
    "c": 0.17623,
    "h": 334.5
  },
  "luminance": 0.24346
}

Semantic roles & 50–950 ramp

primary
#CC5EB9
secondary
#ADD9B5
accent
#DB654C
background
#FDF9FC
surface
#FBF1F9
border
#D4CBD2
text
#150D13
muted
#837E82

Preview Lab

Preview with #CC5EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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