#CC5EA1#CC5EA1

#CC5EA1 is a light, vivid pink. Relative luminance 0.234; OKLCH L 63.7% C 0.159 H 345.1°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#CC5EA1
RGBrgb(204, 94, 161)
HSLhsl(323, 52%, 58%)
HSVhsv(323, 54%, 80%)
CMYKcmyk(0%, 53.9%, 21.1%, 20%)
CIE-LABlab(55.50, 51.34, -15.49)
CIE-LCHlch(55.50, 53.62, 343.21°)
OKLaboklab(63.71% 0.1536 -0.041)
OKLCHoklch(63.71% 0.159 345.1)
XYZxyz(35.3385, 23.4190, 36.3704)
Luminance0.2342 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5EA1 #5ECC89
analogous
#C05ECC #CC5EA1 #CC5E6A
triadic
#CC5EA1 #A1CC5E #5EA1CC
tetradic
#CC5EA1 #CCC05E #5ECC89 #5E6ACC
square
#CC5EA1 #CCC05E #5ECC89 #5E6ACC
split-complementary
#CC5EA1 #6ACC5E #5ECCC0
monochromatic
#852A62 #B43984 #CC5EA1 #DB8CBC #E9BBD7

Accessibility & contrast

On white

3.70
#CC5EA1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#CC5EA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5EA1
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5EA1#FFFFFF#000000##000000
##CC5EA11.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6779A3
Deuteranopia (green-blind)
#868C9E
Tritanopia (blue-blind)
#D85D78
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cc5ea1;
/* rgb */ color: rgb(204, 94, 161);
/* oklch */ color: oklch(63.7% 0.159 345.1);
Tailwind
colors: {
  custom: {
    50: '#de90bd',
    500: '#cc5ea1',
    950: '#000000',
  },
}
SCSS
$custom: #cc5ea1;
$custom-light: #de90bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5ea1",
  "rgb": {
    "r": 204,
    "g": 94,
    "b": 161
  },
  "hsl": {
    "h": 323.455,
    "s": 51.887,
    "l": 58.431
  },
  "oklch": {
    "l": 0.63712,
    "c": 0.15895,
    "h": 345.1
  },
  "luminance": 0.23416
}

Semantic roles & 50–950 ramp

primary
#CC5EA1
secondary
#ADD9BE
accent
#DB844C
background
#FEF9FB
surface
#FCF1F6
border
#D5CBD0
text
#150D12
muted
#847E81

Preview Lab

Preview with #CC5EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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