#CC5CAF#CC5CAF

#CC5CAF is a light, vivid pink. Relative luminance 0.236; OKLCH L 64.0% C 0.172 H 338.5°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#CC5CAF
RGBrgb(204, 92, 175)
HSLhsl(316, 52%, 58%)
HSVhsv(316, 55%, 80%)
CMYKcmyk(0%, 54.9%, 14.2%, 20%)
CIE-LABlab(55.67, 54.38, -23.36)
CIE-LCHlch(55.67, 59.19, 336.75°)
OKLaboklab(64.02% 0.1598 -0.0629)
OKLCHoklch(64.02% 0.172 338.5)
XYZxyz(36.4673, 23.5896, 43.1817)
Luminance0.2359 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5CAF #5CCC79
analogous
#B15CCC #CC5CAF #CC5C77
triadic
#CC5CAF #AFCC5C #5CAFCC
tetradic
#CC5CAF #CCB15C #5CCC79 #5C77CC
square
#CC5CAF #CCB15C #5CCC79 #5C77CC
split-complementary
#CC5CAF #77CC5C #5CCCB1
monochromatic
#84296D #B33893 #CC5CAF #DB8BC6 #E9B9DD

Accessibility & contrast

On white

3.67
#CC5CAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#CC5CAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5CAF
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5CAF#FFFFFF#000000##000000
##CC5CAF1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#607AB2
Deuteranopia (green-blind)
#808CAC
Tritanopia (blue-blind)
#D65F7E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cc5caf;
/* rgb */ color: rgb(204, 92, 175);
/* oklch */ color: oklch(64.0% 0.172 338.5);
Tailwind
colors: {
  custom: {
    50: '#de8fc7',
    500: '#cc5caf',
    950: '#000000',
  },
}
SCSS
$custom: #cc5caf;
$custom-light: #de8fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5caf",
  "rgb": {
    "r": 204,
    "g": 92,
    "b": 175
  },
  "hsl": {
    "h": 315.536,
    "s": 52.336,
    "l": 58.039
  },
  "oklch": {
    "l": 0.64015,
    "c": 0.17172,
    "h": 338.5
  },
  "luminance": 0.23587
}

Semantic roles & 50–950 ramp

primary
#CC5CAF
secondary
#ACD8B7
accent
#DC714C
background
#FDF9FC
surface
#FBF1F8
border
#D4CBD1
text
#150D13
muted
#837E82

Preview Lab

Preview with #CC5CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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