#CC50AB#CC50AB

#CC50AB is a light, vivid pink. Relative luminance 0.215; OKLCH L 62.4% C 0.187 H 339.4°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#CC50AB
RGBrgb(204, 80, 171)
HSLhsl(316, 55%, 56%)
HSVhsv(316, 61%, 80%)
CMYKcmyk(0%, 60.8%, 16.2%, 20%)
CIE-LABlab(53.51, 59.18, -24.37)
CIE-LCHlch(53.51, 64.00, 337.62°)
OKLaboklab(62.37% 0.175 -0.0656)
OKLCHoklch(62.37% 0.187 339.4)
XYZxyz(35.1219, 21.5180, 40.8238)
Luminance0.2152 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC50AB #50CC71
analogous
#AF50CC #CC50AB #CC506D
triadic
#CC50AB #ABCC50 #50ABCC
tetradic
#CC50AB #CCAF50 #50CC71 #506DCC
square
#CC50AB #CCAF50 #50CC71 #506DCC
split-complementary
#CC50AB #6DCC50 #50CCAF
monochromatic
#7D2466 #AD328C #CC50AB #DA7FC2 #E8AFD8

Accessibility & contrast

On white

3.96
#CC50AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#CC50AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC50AB
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC50AB#FFFFFF#000000##000000
##CC50AB1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc50ab;
/* rgb */ color: rgb(204, 80, 171);
/* oklch */ color: oklch(62.4% 0.187 339.4);
Tailwind
colors: {
  custom: {
    50: '#df88c4',
    500: '#cc50ab',
    950: '#000000',
  },
}
SCSS
$custom: #cc50ab;
$custom-light: #df88c4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc50ab",
  "rgb": {
    "r": 204,
    "g": 80,
    "b": 171
  },
  "hsl": {
    "h": 315.968,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.62367,
    "c": 0.18694,
    "h": 339.4
  },
  "luminance": 0.21515
}

Semantic roles & 50–950 ramp

primary
#CC50AB
secondary
#A2D6B0
accent
#DE714A
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C12
muted
#847D81

Preview Lab

Preview with #CC50AB

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

Preview Lab → · Contrast checker → · Palette generator →

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