#CC50A2#CC50A2

#CC50A2 is a mid, vivid pink. Relative luminance 0.212; OKLCH L 62.0% C 0.181 H 343.2°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#CC50A2
RGBrgb(204, 80, 162)
HSLhsl(320, 55%, 56%)
HSVhsv(320, 61%, 80%)
CMYKcmyk(0%, 60.8%, 20.6%, 20%)
CIE-LABlab(53.15, 57.88, -19.65)
CIE-LCHlch(53.15, 61.13, 341.25°)
OKLaboklab(61.99% 0.1732 -0.0524)
OKLCHoklch(61.99% 0.181 343.2)
XYZxyz(34.2930, 21.1864, 36.4587)
Luminance0.2118 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC50A2 #50CC7A
analogous
#B850CC #CC50A2 #CC5064
triadic
#CC50A2 #A2CC50 #50A2CC
tetradic
#CC50A2 #CCB850 #50CC7A #5064CC
square
#CC50A2 #CCB850 #50CC7A #5064CC
split-complementary
#CC50A2 #64CC50 #50CCB8
monochromatic
#7D245F #AD3283 #CC50A2 #DA7FBB #E8AFD4

Accessibility & contrast

On white

4.01
#CC50A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#CC50A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC50A2
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC50A2#FFFFFF#000000##000000
##CC50A21.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A72A5
Deuteranopia (green-blind)
#7E869F
Tritanopia (blue-blind)
#D85072
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cc50a2;
/* rgb */ color: rgb(204, 80, 162);
/* oklch */ color: oklch(62.0% 0.181 343.2);
Tailwind
colors: {
  custom: {
    50: '#df88bd',
    500: '#cc50a2',
    950: '#000000',
  },
}
SCSS
$custom: #cc50a2;
$custom-light: #df88bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc50a2",
  "rgb": {
    "r": 204,
    "g": 80,
    "b": 162
  },
  "hsl": {
    "h": 320.323,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61986,
    "c": 0.18091,
    "h": 343.2
  },
  "luminance": 0.21183
}

Semantic roles & 50–950 ramp

primary
#CC50A2
secondary
#A2D6B4
accent
#DE7C4A
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CC50A2

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

Preview Lab → · Contrast checker → · Palette generator →

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