#CC50A9#CC50A9

#CC50A9 is a light, vivid pink. Relative luminance 0.214; OKLCH L 62.3% C 0.186 H 340.3°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#CC50A9
RGBrgb(204, 80, 169)
HSLhsl(317, 55%, 56%)
HSVhsv(317, 61%, 80%)
CMYKcmyk(0%, 60.8%, 17.2%, 20%)
CIE-LABlab(53.43, 58.88, -23.33)
CIE-LCHlch(53.43, 63.34, 338.39°)
OKLaboklab(62.28% 0.1746 -0.0627)
OKLCHoklch(62.28% 0.186 340.3)
XYZxyz(34.9327, 21.4423, 39.8274)
Luminance0.2144 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC50A9 #50CC73
analogous
#B150CC #CC50A9 #CC506B
triadic
#CC50A9 #A9CC50 #50A9CC
tetradic
#CC50A9 #CCB150 #50CC73 #506BCC
square
#CC50A9 #CCB150 #50CC73 #506BCC
split-complementary
#CC50A9 #6BCC50 #50CCB1
monochromatic
#7D2464 #AD328A #CC50A9 #DA7FC0 #E8AFD8

Accessibility & contrast

On white

3.97
#CC50A9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#CC50A9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC50A9
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC50A9#FFFFFF#000000##000000
##CC50A91.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5773AC
Deuteranopia (green-blind)
#7C87A6
Tritanopia (blue-blind)
#D75375
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cc50a9;
/* rgb */ color: rgb(204, 80, 169);
/* oklch */ color: oklch(62.3% 0.186 340.3);
Tailwind
colors: {
  custom: {
    50: '#df88c2',
    500: '#cc50a9',
    950: '#000000',
  },
}
SCSS
$custom: #cc50a9;
$custom-light: #df88c2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc50a9",
  "rgb": {
    "r": 204,
    "g": 80,
    "b": 169
  },
  "hsl": {
    "h": 316.935,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.6228,
    "c": 0.18555,
    "h": 340.3
  },
  "luminance": 0.21439
}

Semantic roles & 50–950 ramp

primary
#CC50A9
secondary
#A2D6B1
accent
#DE744A
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CC50A9

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

Preview Lab → · Contrast checker → · Palette generator →

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