#CC5EA2#CC5EA2

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

Color values

HEX#CC5EA2
RGBrgb(204, 94, 162)
HSLhsl(323, 52%, 58%)
HSVhsv(323, 54%, 80%)
CMYKcmyk(0%, 53.9%, 20.6%, 20%)
CIE-LABlab(55.54, 51.48, -16.02)
CIE-LCHlch(55.54, 53.92, 342.72°)
OKLaboklab(63.75% 0.1538 -0.0425)
OKLCHoklch(63.75% 0.16 344.6)
XYZxyz(35.4270, 23.4544, 36.8367)
Luminance0.2345 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5EA2 #5ECC88
analogous
#BF5ECC #CC5EA2 #CC5E6B
triadic
#CC5EA2 #A2CC5E #5EA2CC
tetradic
#CC5EA2 #CCBF5E #5ECC88 #5E6BCC
square
#CC5EA2 #CCBF5E #5ECC88 #5E6BCC
split-complementary
#CC5EA2 #6BCC5E #5ECCBF
monochromatic
#852A63 #B43985 #CC5EA2 #DB8CBD #E9BBD8

Accessibility & contrast

On white

3.69
#CC5EA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#CC5EA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5EA2
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5EA2#FFFFFF#000000##000000
##CC5EA21.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#677AA4
Deuteranopia (green-blind)
#858C9F
Tritanopia (blue-blind)
#D85D79
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cc5ea2;
/* rgb */ color: rgb(204, 94, 162);
/* oklch */ color: oklch(63.8% 0.160 344.6);
Tailwind
colors: {
  custom: {
    50: '#de90bd',
    500: '#cc5ea2',
    950: '#000000',
  },
}
SCSS
$custom: #cc5ea2;
$custom-light: #de90bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5ea2",
  "rgb": {
    "r": 204,
    "g": 94,
    "b": 162
  },
  "hsl": {
    "h": 322.909,
    "s": 51.887,
    "l": 58.431
  },
  "oklch": {
    "l": 0.63751,
    "c": 0.15958,
    "h": 344.6
  },
  "luminance": 0.23451
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC5EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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