#CC51AA#CC51AA

#CC51AA is a light, vivid pink. Relative luminance 0.216; OKLCH L 62.4% C 0.185 H 339.9°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#CC51AA
RGBrgb(204, 81, 170)
HSLhsl(317, 55%, 56%)
HSVhsv(317, 60%, 80%)
CMYKcmyk(0%, 60.3%, 16.7%, 20%)
CIE-LABlab(53.63, 58.60, -23.60)
CIE-LCHlch(53.63, 63.17, 338.06°)
OKLaboklab(62.44% 0.1736 -0.0635)
OKLCHoklch(62.44% 0.185 339.9)
XYZxyz(35.1007, 21.6275, 40.3483)
Luminance0.2162 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC51AA #51CC73
analogous
#B051CC #CC51AA #CC516C
triadic
#CC51AA #AACC51 #51AACC
tetradic
#CC51AA #CCB051 #51CC73 #516CCC
square
#CC51AA #CCB051 #51CC73 #516CCC
split-complementary
#CC51AA #6CCC51 #51CCB0
monochromatic
#7E2565 #AD338B #CC51AA #DA80C1 #E8B0D8

Accessibility & contrast

On white

3.94
#CC51AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#CC51AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC51AA
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC51AA#FFFFFF#000000##000000
##CC51AA1.003.945.325.32
#FFFFFF3.941.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5774AD
Deuteranopia (green-blind)
#7C87A7
Tritanopia (blue-blind)
#D75476
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cc51aa;
/* rgb */ color: rgb(204, 81, 170);
/* oklch */ color: oklch(62.4% 0.185 339.9);
Tailwind
colors: {
  custom: {
    50: '#df89c3',
    500: '#cc51aa',
    950: '#000000',
  },
}
SCSS
$custom: #cc51aa;
$custom-light: #df89c3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc51aa",
  "rgb": {
    "r": 204,
    "g": 81,
    "b": 170
  },
  "hsl": {
    "h": 316.585,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.6244,
    "c": 0.1848,
    "h": 339.9
  },
  "luminance": 0.21625
}

Semantic roles & 50–950 ramp

primary
#CC51AA
secondary
#A3D6B1
accent
#DE734A
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C12
muted
#847D81

Preview Lab

Preview with #CC51AA

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

Preview Lab → · Contrast checker → · Palette generator →

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