#CC57AF#CC57AF

#CC57AF is a light, vivid pink. Relative luminance 0.227; OKLCH L 63.4% C 0.179 H 338.2°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#CC57AF
RGBrgb(204, 87, 175)
HSLhsl(315, 53%, 57%)
HSVhsv(315, 57%, 80%)
CMYKcmyk(0%, 57.4%, 14.2%, 20%)
CIE-LABlab(54.82, 56.69, -24.69)
CIE-LCHlch(54.82, 61.83, 336.47°)
OKLaboklab(63.38% 0.1666 -0.0666)
OKLCHoklch(63.38% 0.179 338.2)
XYZxyz(36.0484, 22.7518, 43.0421)
Luminance0.2275 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC57AF #57CC74
analogous
#AF57CC #CC57AF #CC5774
triadic
#CC57AF #AFCC57 #57AFCC
tetradic
#CC57AF #CCAF57 #57CC74 #5774CC
square
#CC57AF #CCAF57 #57CC74 #5774CC
split-complementary
#CC57AF #74CC57 #57CCAF
monochromatic
#81276B #B03692 #CC57AF #DA86C5 #E9B5DC

Accessibility & contrast

On white

3.78
#CC57AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#CC57AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC57AF
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC57AF#FFFFFF#000000##000000
##CC57AF1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B78B2
Deuteranopia (green-blind)
#7D8AAC
Tritanopia (blue-blind)
#D65B7B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cc57af;
/* rgb */ color: rgb(204, 87, 175);
/* oklch */ color: oklch(63.4% 0.179 338.2);
Tailwind
colors: {
  custom: {
    50: '#de8cc7',
    500: '#cc57af',
    950: '#000000',
  },
}
SCSS
$custom: #cc57af;
$custom-light: #de8cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc57af",
  "rgb": {
    "r": 204,
    "g": 87,
    "b": 175
  },
  "hsl": {
    "h": 314.872,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.6338,
    "c": 0.17942,
    "h": 338.2
  },
  "luminance": 0.22749
}

Semantic roles & 50–950 ramp

primary
#CC57AF
secondary
#A8D7B3
accent
#DD6F4B
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#150C13
muted
#847D82

Preview Lab

Preview with #CC57AF

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

Preview Lab → · Contrast checker → · Palette generator →

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