#CC5EB4#CC5EB4

#CC5EB4 is a light, vivid pink. Relative luminance 0.241; OKLCH L 64.5% C 0.172 H 336.5°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#CC5EB4
RGBrgb(204, 94, 180)
HSLhsl(313, 52%, 58%)
HSVhsv(313, 54%, 80%)
CMYKcmyk(0%, 53.9%, 11.8%, 20%)
CIE-LABlab(56.23, 54.22, -25.40)
CIE-LCHlch(56.23, 59.88, 334.90°)
OKLaboklab(64.49% 0.1581 -0.0687)
OKLCHoklch(64.49% 0.172 336.5)
XYZxyz(37.1430, 24.1408, 45.8745)
Luminance0.2414 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5EB4 #5ECC76
analogous
#AD5ECC #CC5EB4 #CC5E7D
triadic
#CC5EB4 #B4CC5E #5EB4CC
tetradic
#CC5EB4 #CCAD5E #5ECC76 #5E7DCC
square
#CC5EB4 #CCAD5E #5ECC76 #5E7DCC
split-complementary
#CC5EB4 #7DCC5E #5ECCAD
monochromatic
#852A71 #B43999 #CC5EB4 #DB8CCA #E9BBDF

Accessibility & contrast

On white

3.60
#CC5EB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#CC5EB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5EB4
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5EB4#FFFFFF#000000##000000
##CC5EB41.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#607CB7
Deuteranopia (green-blind)
#808DB1
Tritanopia (blue-blind)
#D56381
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cc5eb4;
/* rgb */ color: rgb(204, 94, 180);
/* oklch */ color: oklch(64.5% 0.172 336.5);
Tailwind
colors: {
  custom: {
    50: '#de90ca',
    500: '#cc5eb4',
    950: '#000000',
  },
}
SCSS
$custom: #cc5eb4;
$custom-light: #de90ca;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5eb4",
  "rgb": {
    "r": 204,
    "g": 94,
    "b": 180
  },
  "hsl": {
    "h": 313.091,
    "s": 51.887,
    "l": 58.431
  },
  "oklch": {
    "l": 0.64491,
    "c": 0.17232,
    "h": 336.5
  },
  "luminance": 0.24138
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC5EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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