#CC5FA5#CC5FA5

#CC5FA5 is a light, vivid pink. Relative luminance 0.237; OKLCH L 64.0% C 0.160 H 343.3°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#CC5FA5
RGBrgb(204, 95, 165)
HSLhsl(321, 52%, 59%)
HSVhsv(321, 53%, 80%)
CMYKcmyk(0%, 53.4%, 19.1%, 20%)
CIE-LABlab(55.83, 51.44, -17.32)
CIE-LCHlch(55.83, 54.28, 341.39°)
OKLaboklab(64% 0.1532 -0.0461)
OKLCHoklch(64% 0.16 343.3)
XYZxyz(35.7864, 23.7413, 38.2878)
Luminance0.2374 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5FA5 #5FCC86
analogous
#BC5FCC #CC5FA5 #CC5F6E
triadic
#CC5FA5 #A5CC5F #5FA5CC
tetradic
#CC5FA5 #CCBC5F #5FCC86 #5F6ECC
square
#CC5FA5 #CCBC5F #5FCC86 #5F6ECC
split-complementary
#CC5FA5 #6ECC5F #5FCCBC
monochromatic
#862B65 #B43988 #CC5FA5 #DB8DBF #EABCD9

Accessibility & contrast

On white

3.65
#CC5FA5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#CC5FA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5FA5
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5FA5#FFFFFF#000000##000000
##CC5FA51.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#677BA7
Deuteranopia (green-blind)
#858CA2
Tritanopia (blue-blind)
#D75F7A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cc5fa5;
/* rgb */ color: rgb(204, 95, 165);
/* oklch */ color: oklch(64.0% 0.160 343.3);
Tailwind
colors: {
  custom: {
    50: '#de91bf',
    500: '#cc5fa5',
    950: '#000000',
  },
}
SCSS
$custom: #cc5fa5;
$custom-light: #de91bf;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5fa5",
  "rgb": {
    "r": 204,
    "g": 95,
    "b": 165
  },
  "hsl": {
    "h": 321.468,
    "s": 51.659,
    "l": 58.627
  },
  "oklch": {
    "l": 0.64003,
    "c": 0.15995,
    "h": 343.3
  },
  "luminance": 0.23738
}

Semantic roles & 50–950 ramp

primary
#CC5FA5
secondary
#AED9BD
accent
#DB804D
background
#FDF9FB
surface
#FBF1F7
border
#D4CBD0
text
#150D12
muted
#837E81

Preview Lab

Preview with #CC5FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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