#CC5EA6#CC5EA6

#CC5EA6 is a light, vivid pink. Relative luminance 0.236; OKLCH L 63.9% C 0.162 H 342.7°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#CC5EA6
RGBrgb(204, 94, 166)
HSLhsl(321, 52%, 58%)
HSVhsv(321, 54%, 80%)
CMYKcmyk(0%, 53.9%, 18.6%, 20%)
CIE-LABlab(55.68, 52.07, -18.13)
CIE-LCHlch(55.68, 55.13, 340.81°)
OKLaboklab(63.91% 0.1549 -0.0483)
OKLCHoklch(63.91% 0.162 342.7)
XYZxyz(35.7882, 23.5989, 38.7391)
Luminance0.2360 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5EA6 #5ECC84
analogous
#BB5ECC #CC5EA6 #CC5E6F
triadic
#CC5EA6 #A6CC5E #5EA6CC
tetradic
#CC5EA6 #CCBB5E #5ECC84 #5E6FCC
square
#CC5EA6 #CCBB5E #5ECC84 #5E6FCC
split-complementary
#CC5EA6 #6FCC5E #5ECCBB
monochromatic
#852A66 #B43989 #CC5EA6 #DB8CC0 #E9BBD9

Accessibility & contrast

On white

3.67
#CC5EA6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#CC5EA6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5EA6
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5EA6#FFFFFF#000000##000000
##CC5EA61.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#667AA8
Deuteranopia (green-blind)
#848CA3
Tritanopia (blue-blind)
#D75E7A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cc5ea6;
/* rgb */ color: rgb(204, 94, 166);
/* oklch */ color: oklch(63.9% 0.162 342.7);
Tailwind
colors: {
  custom: {
    50: '#de90c0',
    500: '#cc5ea6',
    950: '#000000',
  },
}
SCSS
$custom: #cc5ea6;
$custom-light: #de90c0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5ea6",
  "rgb": {
    "r": 204,
    "g": 94,
    "b": 166
  },
  "hsl": {
    "h": 320.727,
    "s": 51.887,
    "l": 58.431
  },
  "oklch": {
    "l": 0.63908,
    "c": 0.16221,
    "h": 342.7
  },
  "luminance": 0.23596
}

Semantic roles & 50–950 ramp

primary
#CC5EA6
secondary
#ADD9BC
accent
#DB7E4C
background
#FDF9FB
surface
#FBF1F7
border
#D4CBD0
text
#150D12
muted
#837E81

Preview Lab

Preview with #CC5EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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