#CC5FA8#CC5FA8

#CC5FA8 is a light, vivid pink. Relative luminance 0.238; OKLCH L 64.1% C 0.162 H 341.9°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#CC5FA8
RGBrgb(204, 95, 168)
HSLhsl(320, 52%, 59%)
HSVhsv(320, 53%, 80%)
CMYKcmyk(0%, 53.4%, 17.6%, 20%)
CIE-LABlab(55.94, 51.89, -18.90)
CIE-LCHlch(55.94, 55.23, 339.99°)
OKLaboklab(64.12% 0.1539 -0.0504)
OKLCHoklch(64.12% 0.162 341.9)
XYZxyz(36.0626, 23.8518, 39.7427)
Luminance0.2385 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5FA8 #5FCC83
analogous
#BA5FCC #CC5FA8 #CC5F71
triadic
#CC5FA8 #A8CC5F #5FA8CC
tetradic
#CC5FA8 #CCBA5F #5FCC83 #5F71CC
square
#CC5FA8 #CCBA5F #5FCC83 #5F71CC
split-complementary
#CC5FA8 #71CC5F #5FCCBA
monochromatic
#862B68 #B4398C #CC5FA8 #DB8DC1 #EABCDA

Accessibility & contrast

On white

3.64
#CC5FA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#CC5FA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5FA8
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5FA8#FFFFFF#000000##000000
##CC5FA81.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#667BAA
Deuteranopia (green-blind)
#848DA5
Tritanopia (blue-blind)
#D7607C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cc5fa8;
/* rgb */ color: rgb(204, 95, 168);
/* oklch */ color: oklch(64.1% 0.162 341.9);
Tailwind
colors: {
  custom: {
    50: '#de91c2',
    500: '#cc5fa8',
    950: '#000000',
  },
}
SCSS
$custom: #cc5fa8;
$custom-light: #de91c2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5fa8",
  "rgb": {
    "r": 204,
    "g": 95,
    "b": 168
  },
  "hsl": {
    "h": 319.817,
    "s": 51.659,
    "l": 58.627
  },
  "oklch": {
    "l": 0.64122,
    "c": 0.16199,
    "h": 341.9
  },
  "luminance": 0.23849
}

Semantic roles & 50–950 ramp

primary
#CC5FA8
secondary
#AED9BC
accent
#DB7C4D
background
#FDF9FB
surface
#FBF1F7
border
#D4CBD0
text
#150D12
muted
#837E81

Preview Lab

Preview with #CC5FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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