#CC51AE#CC51AE

#CC51AE is a light, vivid pink. Relative luminance 0.218; OKLCH L 62.6% C 0.188 H 338.3°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#CC51AE
RGBrgb(204, 81, 174)
HSLhsl(315, 55%, 56%)
HSVhsv(315, 60%, 80%)
CMYKcmyk(0%, 60.3%, 14.7%, 20%)
CIE-LABlab(53.79, 59.19, -25.68)
CIE-LCHlch(53.79, 64.52, 336.55°)
OKLaboklab(62.61% 0.1743 -0.0693)
OKLCHoklch(62.61% 0.188 338.3)
XYZxyz(35.4848, 21.7812, 42.3715)
Luminance0.2178 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC51AE #51CC6F
analogous
#AC51CC #CC51AE #CC5170
triadic
#CC51AE #AECC51 #51AECC
tetradic
#CC51AE #CCAC51 #51CC6F #5170CC
square
#CC51AE #CCAC51 #51CC6F #5170CC
split-complementary
#CC51AE #70CC51 #51CCAC
monochromatic
#7E2568 #AD338F #CC51AE #DA80C4 #E8B0DA

Accessibility & contrast

On white

3.92
#CC51AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#CC51AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC51AE
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC51AE#FFFFFF#000000##000000
##CC51AE1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5574B1
Deuteranopia (green-blind)
#7A88AB
Tritanopia (blue-blind)
#D75578
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cc51ae;
/* rgb */ color: rgb(204, 81, 174);
/* oklch */ color: oklch(62.6% 0.188 338.3);
Tailwind
colors: {
  custom: {
    50: '#df89c6',
    500: '#cc51ae',
    950: '#000000',
  },
}
SCSS
$custom: #cc51ae;
$custom-light: #df89c6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc51ae",
  "rgb": {
    "r": 204,
    "g": 81,
    "b": 174
  },
  "hsl": {
    "h": 314.634,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.62615,
    "c": 0.1876,
    "h": 338.3
  },
  "luminance": 0.21778
}

Semantic roles & 50–950 ramp

primary
#CC51AE
secondary
#A3D6AF
accent
#DE6E4A
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CC51AE

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

Preview Lab → · Contrast checker → · Palette generator →

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