#CC57AA#CC57AA

#CC57AA is a light, vivid pink. Relative luminance 0.226; OKLCH L 63.2% C 0.176 H 340.3°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#CC57AA
RGBrgb(204, 87, 170)
HSLhsl(317, 53%, 57%)
HSVhsv(317, 57%, 80%)
CMYKcmyk(0%, 57.4%, 16.7%, 20%)
CIE-LABlab(54.62, 55.93, -22.09)
CIE-LCHlch(54.62, 60.13, 338.45°)
OKLaboklab(63.17% 0.1656 -0.0593)
OKLCHoklch(63.17% 0.176 340.3)
XYZxyz(35.5664, 22.5590, 40.5035)
Luminance0.2256 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC57AA #57CC79
analogous
#B457CC #CC57AA #CC5770
triadic
#CC57AA #AACC57 #57AACC
tetradic
#CC57AA #CCB457 #57CC79 #5770CC
square
#CC57AA #CCB457 #57CC79 #5770CC
split-complementary
#CC57AA #70CC57 #57CCB4
monochromatic
#812767 #B0368D #CC57AA #DA86C2 #E9B5DA

Accessibility & contrast

On white

3.81
#CC57AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#CC57AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC57AA
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC57AA#FFFFFF#000000##000000
##CC57AA1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D77AD
Deuteranopia (green-blind)
#7F8AA7
Tritanopia (blue-blind)
#D75979
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cc57aa;
/* rgb */ color: rgb(204, 87, 170);
/* oklch */ color: oklch(63.2% 0.176 340.3);
Tailwind
colors: {
  custom: {
    50: '#de8cc3',
    500: '#cc57aa',
    950: '#000000',
  },
}
SCSS
$custom: #cc57aa;
$custom-light: #de8cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc57aa",
  "rgb": {
    "r": 204,
    "g": 87,
    "b": 170
  },
  "hsl": {
    "h": 317.436,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.63167,
    "c": 0.17586,
    "h": 340.3
  },
  "luminance": 0.22556
}

Semantic roles & 50–950 ramp

primary
#CC57AA
secondary
#A8D7B5
accent
#DD754B
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C12
muted
#847D81

Preview Lab

Preview with #CC57AA

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

Preview Lab → · Contrast checker → · Palette generator →

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