#CC50A7#CC50A7

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

Color values

HEX#CC50A7
RGBrgb(204, 80, 167)
HSLhsl(318, 55%, 56%)
HSVhsv(318, 61%, 80%)
CMYKcmyk(0%, 60.8%, 18.1%, 20%)
CIE-LABlab(53.35, 58.59, -22.28)
CIE-LCHlch(53.35, 62.69, 339.18°)
OKLaboklab(62.2% 0.1742 -0.0598)
OKLCHoklch(62.2% 0.184 341.1)
XYZxyz(34.7464, 21.3678, 38.8461)
Luminance0.2137 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC50A7 #50CC75
analogous
#B350CC #CC50A7 #CC5069
triadic
#CC50A7 #A7CC50 #50A7CC
tetradic
#CC50A7 #CCB350 #50CC75 #5069CC
square
#CC50A7 #CCB350 #50CC75 #5069CC
split-complementary
#CC50A7 #69CC50 #50CCB3
monochromatic
#7D2463 #AD3288 #CC50A7 #DA7FBF #E8AFD7

Accessibility & contrast

On white

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

On black

5.27
#CC50A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC50A7
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC50A7#FFFFFF#000000##000000
##CC50A71.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5873AA
Deuteranopia (green-blind)
#7C87A4
Tritanopia (blue-blind)
#D75274
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cc50a7;
/* rgb */ color: rgb(204, 80, 167);
/* oklch */ color: oklch(62.2% 0.184 341.1);
Tailwind
colors: {
  custom: {
    50: '#df88c1',
    500: '#cc50a7',
    950: '#000000',
  },
}
SCSS
$custom: #cc50a7;
$custom-light: #df88c1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc50a7",
  "rgb": {
    "r": 204,
    "g": 80,
    "b": 167
  },
  "hsl": {
    "h": 317.903,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.62195,
    "c": 0.18419,
    "h": 341.1
  },
  "luminance": 0.21365
}

Semantic roles & 50–950 ramp

primary
#CC50A7
secondary
#A2D6B2
accent
#DE764A
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CC50A7

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

Preview Lab → · Contrast checker → · Palette generator →

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