#CC5FAC#CC5FAC

#CC5FAC is a light, vivid pink. Relative luminance 0.240; OKLCH L 64.3% C 0.165 H 340.0°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#CC5FAC
RGBrgb(204, 95, 172)
HSLhsl(318, 52%, 59%)
HSVhsv(318, 53%, 80%)
CMYKcmyk(0%, 53.4%, 15.7%, 20%)
CIE-LABlab(56.09, 52.50, -20.99)
CIE-LCHlch(56.09, 56.54, 338.21°)
OKLaboklab(64.29% 0.1549 -0.0563)
OKLCHoklch(64.29% 0.165 340)
XYZxyz(36.4410, 24.0032, 41.7355)
Luminance0.2400 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5FAC #5FCC7F
analogous
#B55FCC #CC5FAC #CC5F75
triadic
#CC5FAC #ACCC5F #5FACCC
tetradic
#CC5FAC #CCB55F #5FCC7F #5F75CC
square
#CC5FAC #CCB55F #5FCC7F #5F75CC
split-complementary
#CC5FAC #75CC5F #5FCCB5
monochromatic
#862B6B #B43990 #CC5FAC #DB8DC4 #EABCDC

Accessibility & contrast

On white

3.62
#CC5FAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#CC5FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5FAC
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5FAC#FFFFFF#000000##000000
##CC5FAC1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#647CAF
Deuteranopia (green-blind)
#838DA9
Tritanopia (blue-blind)
#D6617E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cc5fac;
/* rgb */ color: rgb(204, 95, 172);
/* oklch */ color: oklch(64.3% 0.165 340.0);
Tailwind
colors: {
  custom: {
    50: '#de91c5',
    500: '#cc5fac',
    950: '#000000',
  },
}
SCSS
$custom: #cc5fac;
$custom-light: #de91c5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5fac",
  "rgb": {
    "r": 204,
    "g": 95,
    "b": 172
  },
  "hsl": {
    "h": 317.615,
    "s": 51.659,
    "l": 58.627
  },
  "oklch": {
    "l": 0.64285,
    "c": 0.16479,
    "h": 340
  },
  "luminance": 0.24
}

Semantic roles & 50–950 ramp

primary
#CC5FAC
secondary
#AED9BB
accent
#DB774D
background
#FDF9FC
surface
#FBF1F8
border
#D4CBD1
text
#150D12
muted
#837E81

Preview Lab

Preview with #CC5FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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