#CC57AC#CC57AC

#CC57AC is a light, vivid pink. Relative luminance 0.226; OKLCH L 63.3% C 0.177 H 339.5°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#CC57AC
RGBrgb(204, 87, 172)
HSLhsl(316, 53%, 57%)
HSVhsv(316, 57%, 80%)
CMYKcmyk(0%, 57.4%, 15.7%, 20%)
CIE-LABlab(54.69, 56.23, -23.13)
CIE-LCHlch(54.69, 60.80, 337.64°)
OKLaboklab(63.25% 0.166 -0.0622)
OKLCHoklch(63.25% 0.177 339.5)
XYZxyz(35.7570, 22.6352, 41.5075)
Luminance0.2263 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC57AC #57CC77
analogous
#B257CC #CC57AC #CC5772
triadic
#CC57AC #ACCC57 #57ACCC
tetradic
#CC57AC #CCB257 #57CC77 #5772CC
square
#CC57AC #CCB257 #57CC77 #5772CC
split-complementary
#CC57AC #72CC57 #57CCB2
monochromatic
#812769 #B0368F #CC57AC #DA86C3 #E9B5DA

Accessibility & contrast

On white

3.80
#CC57AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#CC57AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC57AC
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC57AC#FFFFFF#000000##000000
##CC57AC1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C77AF
Deuteranopia (green-blind)
#7E8AA9
Tritanopia (blue-blind)
#D75A7A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cc57ac;
/* rgb */ color: rgb(204, 87, 172);
/* oklch */ color: oklch(63.3% 0.177 339.5);
Tailwind
colors: {
  custom: {
    50: '#de8cc5',
    500: '#cc57ac',
    950: '#000000',
  },
}
SCSS
$custom: #cc57ac;
$custom-light: #de8cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc57ac",
  "rgb": {
    "r": 204,
    "g": 87,
    "b": 172
  },
  "hsl": {
    "h": 316.41,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.63251,
    "c": 0.17726,
    "h": 339.5
  },
  "luminance": 0.22632
}

Semantic roles & 50–950 ramp

primary
#CC57AC
secondary
#A8D7B5
accent
#DD734B
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#150C12
muted
#847D81

Preview Lab

Preview with #CC57AC

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

Preview Lab → · Contrast checker → · Palette generator →

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