#CC51AF#CC51AF

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

Color values

HEX#CC51AF
RGBrgb(204, 81, 175)
HSLhsl(314, 55%, 56%)
HSVhsv(314, 60%, 80%)
CMYKcmyk(0%, 60.3%, 14.2%, 20%)
CIE-LABlab(53.84, 59.34, -26.20)
CIE-LCHlch(53.84, 64.87, 336.18°)
OKLaboklab(62.66% 0.1745 -0.0708)
OKLCHoklch(62.66% 0.188 337.9)
XYZxyz(35.5827, 21.8203, 42.8868)
Luminance0.2182 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC51AF #51CC6E
analogous
#AB51CC #CC51AF #CC5171
triadic
#CC51AF #AFCC51 #51AFCC
tetradic
#CC51AF #CCAB51 #51CC6E #5171CC
square
#CC51AF #CCAB51 #51CC6E #5171CC
split-complementary
#CC51AF #71CC51 #51CCAB
monochromatic
#7E2569 #AD3390 #CC51AF #DA80C5 #E8B0DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC51AF#FFFFFF#000000##000000
##CC51AF1.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)
#5575B2
Deuteranopia (green-blind)
#7A88AC
Tritanopia (blue-blind)
#D65679
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cc51af;
/* rgb */ color: rgb(204, 81, 175);
/* oklch */ color: oklch(62.7% 0.188 337.9);
Tailwind
colors: {
  custom: {
    50: '#df89c7',
    500: '#cc51af',
    950: '#000000',
  },
}
SCSS
$custom: #cc51af;
$custom-light: #df89c7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc51af",
  "rgb": {
    "r": 204,
    "g": 81,
    "b": 175
  },
  "hsl": {
    "h": 314.146,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.6266,
    "c": 0.18832,
    "h": 337.9
  },
  "luminance": 0.21817
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC51AF

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

Preview Lab → · Contrast checker → · Palette generator →

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