#CC51A4#CC51A4

#CC51A4 is a light, vivid pink. Relative luminance 0.214; OKLCH L 62.2% C 0.181 H 342.4°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#CC51A4
RGBrgb(204, 81, 164)
HSLhsl(320, 55%, 56%)
HSVhsv(320, 60%, 80%)
CMYKcmyk(0%, 60.3%, 19.6%, 20%)
CIE-LABlab(53.39, 57.73, -20.46)
CIE-LCHlch(53.39, 61.25, 340.48°)
OKLaboklab(62.19% 0.1723 -0.0547)
OKLCHoklch(62.19% 0.181 342.4)
XYZxyz(34.5460, 21.4056, 37.4270)
Luminance0.2140 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC51A4 #51CC79
analogous
#B651CC #CC51A4 #CC5166
triadic
#CC51A4 #A4CC51 #51A4CC
tetradic
#CC51A4 #CCB651 #51CC79 #5166CC
square
#CC51A4 #CCB651 #51CC79 #5166CC
split-complementary
#CC51A4 #66CC51 #51CCB6
monochromatic
#7E2561 #AD3385 #CC51A4 #DA80BD #E8B0D6

Accessibility & contrast

On white

3.98
#CC51A4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#CC51A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC51A4
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC51A4#FFFFFF#000000##000000
##CC51A41.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A73A7
Deuteranopia (green-blind)
#7E87A1
Tritanopia (blue-blind)
#D85273
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cc51a4;
/* rgb */ color: rgb(204, 81, 164);
/* oklch */ color: oklch(62.2% 0.181 342.4);
Tailwind
colors: {
  custom: {
    50: '#df88bf',
    500: '#cc51a4',
    950: '#000000',
  },
}
SCSS
$custom: #cc51a4;
$custom-light: #df88bf;
$custom-dark: #000000;
JSON
{
  "hex": "#cc51a4",
  "rgb": {
    "r": 204,
    "g": 81,
    "b": 164
  },
  "hsl": {
    "h": 319.512,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.62186,
    "c": 0.18075,
    "h": 342.4
  },
  "luminance": 0.21403
}

Semantic roles & 50–950 ramp

primary
#CC51A4
secondary
#A3D6B3
accent
#DE7A4A
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CC51A4

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

Preview Lab → · Contrast checker → · Palette generator →

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