#CC5EA5#CC5EA5

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

Color values

HEX#CC5EA5
RGBrgb(204, 94, 165)
HSLhsl(321, 52%, 58%)
HSVhsv(321, 54%, 80%)
CMYKcmyk(0%, 53.9%, 19.1%, 20%)
CIE-LABlab(55.65, 51.92, -17.60)
CIE-LCHlch(55.65, 54.82, 341.27°)
OKLaboklab(63.87% 0.1546 -0.0468)
OKLCHoklch(63.87% 0.162 343.1)
XYZxyz(35.6969, 23.5623, 38.2579)
Luminance0.2356 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5EA5 #5ECC85
analogous
#BC5ECC #CC5EA5 #CC5E6E
triadic
#CC5EA5 #A5CC5E #5EA5CC
tetradic
#CC5EA5 #CCBC5E #5ECC85 #5E6ECC
square
#CC5EA5 #CCBC5E #5ECC85 #5E6ECC
split-complementary
#CC5EA5 #6ECC5E #5ECCBC
monochromatic
#852A65 #B43988 #CC5EA5 #DB8CBF #E9BBD9

Accessibility & contrast

On white

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

On black

5.71
#CC5EA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5EA5
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5EA5#FFFFFF#000000##000000
##CC5EA51.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc5ea5;
/* rgb */ color: rgb(204, 94, 165);
/* oklch */ color: oklch(63.9% 0.162 343.1);
Tailwind
colors: {
  custom: {
    50: '#de90bf',
    500: '#cc5ea5',
    950: '#000000',
  },
}
SCSS
$custom: #cc5ea5;
$custom-light: #de90bf;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5ea5",
  "rgb": {
    "r": 204,
    "g": 94,
    "b": 165
  },
  "hsl": {
    "h": 321.273,
    "s": 51.887,
    "l": 58.431
  },
  "oklch": {
    "l": 0.63868,
    "c": 0.16155,
    "h": 343.1
  },
  "luminance": 0.23559
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC5EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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