#CC5EB2#CC5EB2

#CC5EB2 is a light, vivid pink. Relative luminance 0.241; OKLCH L 64.4% C 0.171 H 337.4°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#CC5EB2
RGBrgb(204, 94, 178)
HSLhsl(314, 52%, 58%)
HSVhsv(314, 54%, 80%)
CMYKcmyk(0%, 53.9%, 12.7%, 20%)
CIE-LABlab(56.15, 53.91, -24.37)
CIE-LCHlch(56.15, 59.16, 335.67°)
OKLaboklab(64.4% 0.1576 -0.0658)
OKLCHoklch(64.4% 0.171 337.4)
XYZxyz(36.9408, 24.0599, 44.8092)
Luminance0.2406 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5EB2 #5ECC78
analogous
#AF5ECC #CC5EB2 #CC5E7B
triadic
#CC5EB2 #B2CC5E #5EB2CC
tetradic
#CC5EB2 #CCAF5E #5ECC78 #5E7BCC
square
#CC5EB2 #CCAF5E #5ECC78 #5E7BCC
split-complementary
#CC5EB2 #7BCC5E #5ECCAF
monochromatic
#852A70 #B43997 #CC5EB2 #DB8CC8 #E9BBDE

Accessibility & contrast

On white

3.61
#CC5EB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#CC5EB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5EB2
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5EB2#FFFFFF#000000##000000
##CC5EB21.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#617CB5
Deuteranopia (green-blind)
#808DAF
Tritanopia (blue-blind)
#D66280
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cc5eb2;
/* rgb */ color: rgb(204, 94, 178);
/* oklch */ color: oklch(64.4% 0.171 337.4);
Tailwind
colors: {
  custom: {
    50: '#de90c9',
    500: '#cc5eb2',
    950: '#000000',
  },
}
SCSS
$custom: #cc5eb2;
$custom-light: #de90c9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5eb2",
  "rgb": {
    "r": 204,
    "g": 94,
    "b": 178
  },
  "hsl": {
    "h": 314.182,
    "s": 51.887,
    "l": 58.431
  },
  "oklch": {
    "l": 0.64404,
    "c": 0.17081,
    "h": 337.4
  },
  "luminance": 0.24057
}

Semantic roles & 50–950 ramp

primary
#CC5EB2
secondary
#ADD9B7
accent
#DB6E4C
background
#FDF9FC
surface
#FBF1F8
border
#D4CBD1
text
#150D13
muted
#837E82

Preview Lab

Preview with #CC5EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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