#CC51AB#CC51AB

#CC51AB is a light, vivid pink. Relative luminance 0.217; OKLCH L 62.5% C 0.185 H 339.5°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#CC51AB
RGBrgb(204, 81, 171)
HSLhsl(316, 55%, 56%)
HSVhsv(316, 60%, 80%)
CMYKcmyk(0%, 60.3%, 16.2%, 20%)
CIE-LABlab(53.67, 58.75, -24.12)
CIE-LCHlch(53.67, 63.51, 337.67°)
OKLaboklab(62.48% 0.1737 -0.0649)
OKLCHoklch(62.48% 0.185 339.5)
XYZxyz(35.1956, 21.6655, 40.8484)
Luminance0.2166 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC51AB #51CC72
analogous
#B051CC #CC51AB #CC516D
triadic
#CC51AB #ABCC51 #51ABCC
tetradic
#CC51AB #CCB051 #51CC72 #516DCC
square
#CC51AB #CCB051 #51CC72 #516DCC
split-complementary
#CC51AB #6DCC51 #51CCB0
monochromatic
#7E2566 #AD338C #CC51AB #DA80C2 #E8B0D9

Accessibility & contrast

On white

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

On black

5.33
#CC51AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC51AB
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC51AB#FFFFFF#000000##000000
##CC51AB1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5774AE
Deuteranopia (green-blind)
#7B87A8
Tritanopia (blue-blind)
#D75477
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cc51ab;
/* rgb */ color: rgb(204, 81, 171);
/* oklch */ color: oklch(62.5% 0.185 339.5);
Tailwind
colors: {
  custom: {
    50: '#df89c4',
    500: '#cc51ab',
    950: '#000000',
  },
}
SCSS
$custom: #cc51ab;
$custom-light: #df89c4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc51ab",
  "rgb": {
    "r": 204,
    "g": 81,
    "b": 171
  },
  "hsl": {
    "h": 316.098,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.62484,
    "c": 0.18549,
    "h": 339.5
  },
  "luminance": 0.21663
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC51AB

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

Preview Lab → · Contrast checker → · Palette generator →

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