#CC5FA4#CC5FA4

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

Color values

HEX#CC5FA4
RGBrgb(204, 95, 164)
HSLhsl(322, 52%, 59%)
HSVhsv(322, 53%, 80%)
CMYKcmyk(0%, 53.4%, 19.6%, 20%)
CIE-LABlab(55.79, 51.30, -16.80)
CIE-LCHlch(55.79, 53.98, 341.87°)
OKLaboklab(63.96% 0.1529 -0.0446)
OKLCHoklch(63.96% 0.159 343.7)
XYZxyz(35.6957, 23.7051, 37.8103)
Luminance0.2370 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5FA4 #5FCC87
analogous
#BD5FCC #CC5FA4 #CC5F6D
triadic
#CC5FA4 #A4CC5F #5FA4CC
tetradic
#CC5FA4 #CCBD5F #5FCC87 #5F6DCC
square
#CC5FA4 #CCBD5F #5FCC87 #5F6DCC
split-complementary
#CC5FA4 #6DCC5F #5FCCBD
monochromatic
#862B64 #B43987 #CC5FA4 #DB8DBE #EABCD9

Accessibility & contrast

On white

3.66
#CC5FA4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#CC5FA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5FA4
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5FA4#FFFFFF#000000##000000
##CC5FA41.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc5fa4;
/* rgb */ color: rgb(204, 95, 164);
/* oklch */ color: oklch(64.0% 0.159 343.7);
Tailwind
colors: {
  custom: {
    50: '#de91bf',
    500: '#cc5fa4',
    950: '#000000',
  },
}
SCSS
$custom: #cc5fa4;
$custom-light: #de91bf;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5fa4",
  "rgb": {
    "r": 204,
    "g": 95,
    "b": 164
  },
  "hsl": {
    "h": 322.018,
    "s": 51.659,
    "l": 58.627
  },
  "oklch": {
    "l": 0.63964,
    "c": 0.1593,
    "h": 343.7
  },
  "luminance": 0.23702
}

Semantic roles & 50–950 ramp

primary
#CC5FA4
secondary
#AED9BE
accent
#DB814D
background
#FDF9FB
surface
#FBF1F7
border
#D4CBD0
text
#150D12
muted
#837E81

Preview Lab

Preview with #CC5FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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