#CC5EA4#CC5EA4

#CC5EA4 is a light, vivid pink. Relative luminance 0.235; OKLCH L 63.8% C 0.161 H 343.6°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#CC5EA4
RGBrgb(204, 94, 164)
HSLhsl(322, 52%, 58%)
HSVhsv(322, 54%, 80%)
CMYKcmyk(0%, 53.9%, 19.6%, 20%)
CIE-LABlab(55.61, 51.77, -17.07)
CIE-LCHlch(55.61, 54.52, 341.75°)
OKLaboklab(63.83% 0.1543 -0.0454)
OKLCHoklch(63.83% 0.161 343.6)
XYZxyz(35.6062, 23.5261, 37.7804)
Luminance0.2352 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5EA4 #5ECC86
analogous
#BD5ECC #CC5EA4 #CC5E6D
triadic
#CC5EA4 #A4CC5E #5EA4CC
tetradic
#CC5EA4 #CCBD5E #5ECC86 #5E6DCC
square
#CC5EA4 #CCBD5E #5ECC86 #5E6DCC
split-complementary
#CC5EA4 #6DCC5E #5ECCBD
monochromatic
#852A64 #B43987 #CC5EA4 #DB8CBE #E9BBD9

Accessibility & contrast

On white

3.68
#CC5EA4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#CC5EA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5EA4
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5EA4#FFFFFF#000000##000000
##CC5EA41.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#667AA6
Deuteranopia (green-blind)
#858CA1
Tritanopia (blue-blind)
#D85E7A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cc5ea4;
/* rgb */ color: rgb(204, 94, 164);
/* oklch */ color: oklch(63.8% 0.161 343.6);
Tailwind
colors: {
  custom: {
    50: '#de90bf',
    500: '#cc5ea4',
    950: '#000000',
  },
}
SCSS
$custom: #cc5ea4;
$custom-light: #de90bf;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5ea4",
  "rgb": {
    "r": 204,
    "g": 94,
    "b": 164
  },
  "hsl": {
    "h": 321.818,
    "s": 51.887,
    "l": 58.431
  },
  "oklch": {
    "l": 0.63829,
    "c": 0.16088,
    "h": 343.6
  },
  "luminance": 0.23523
}

Semantic roles & 50–950 ramp

primary
#CC5EA4
secondary
#ADD9BD
accent
#DB804C
background
#FDF9FB
surface
#FBF1F7
border
#D4CBD0
text
#150D12
muted
#837E81

Preview Lab

Preview with #CC5EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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