#CC5EA7#CC5EA7

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

Color values

HEX#CC5EA7
RGBrgb(204, 94, 167)
HSLhsl(320, 52%, 58%)
HSVhsv(320, 54%, 80%)
CMYKcmyk(0%, 53.9%, 18.1%, 20%)
CIE-LABlab(55.72, 52.22, -18.65)
CIE-LCHlch(55.72, 55.45, 340.35°)
OKLaboklab(63.95% 0.1551 -0.0497)
OKLCHoklch(63.95% 0.163 342.2)
XYZxyz(35.8803, 23.6357, 39.2241)
Luminance0.2363 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5EA7 #5ECC83
analogous
#BA5ECC #CC5EA7 #CC5E70
triadic
#CC5EA7 #A7CC5E #5EA7CC
tetradic
#CC5EA7 #CCBA5E #5ECC83 #5E70CC
square
#CC5EA7 #CCBA5E #5ECC83 #5E70CC
split-complementary
#CC5EA7 #70CC5E #5ECCBA
monochromatic
#852A67 #B4398B #CC5EA7 #DB8CC0 #E9BBDA

Accessibility & contrast

On white

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

On black

5.73
#CC5EA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5EA7
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5EA7#FFFFFF#000000##000000
##CC5EA71.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#657AA9
Deuteranopia (green-blind)
#848CA4
Tritanopia (blue-blind)
#D75F7B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cc5ea7;
/* rgb */ color: rgb(204, 94, 167);
/* oklch */ color: oklch(63.9% 0.163 342.2);
Tailwind
colors: {
  custom: {
    50: '#de90c1',
    500: '#cc5ea7',
    950: '#000000',
  },
}
SCSS
$custom: #cc5ea7;
$custom-light: #de90c1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5ea7",
  "rgb": {
    "r": 204,
    "g": 94,
    "b": 167
  },
  "hsl": {
    "h": 320.182,
    "s": 51.887,
    "l": 58.431
  },
  "oklch": {
    "l": 0.63948,
    "c": 0.16289,
    "h": 342.2
  },
  "luminance": 0.23633
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC5EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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