#CC50A1#CC50A1

#CC50A1 is a mid, vivid pink. Relative luminance 0.211; OKLCH L 61.9% C 0.180 H 343.6°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#CC50A1
RGBrgb(204, 80, 161)
HSLhsl(321, 55%, 56%)
HSVhsv(321, 61%, 80%)
CMYKcmyk(0%, 60.8%, 21.1%, 20%)
CIE-LABlab(53.11, 57.74, -19.12)
CIE-LCHlch(53.11, 60.82, 341.67°)
OKLaboklab(61.94% 0.1729 -0.0509)
OKLCHoklch(61.94% 0.18 343.6)
XYZxyz(34.2045, 21.1510, 35.9924)
Luminance0.2115 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC50A1 #50CC7B
analogous
#B950CC #CC50A1 #CC5063
triadic
#CC50A1 #A1CC50 #50A1CC
tetradic
#CC50A1 #CCB950 #50CC7B #5063CC
square
#CC50A1 #CCB950 #50CC7B #5063CC
split-complementary
#CC50A1 #63CC50 #50CCB9
monochromatic
#7D245E #AD3282 #CC50A1 #DA7FBA #E8AFD4

Accessibility & contrast

On white

4.02
#CC50A1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#CC50A1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC50A1
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC50A1#FFFFFF#000000##000000
##CC50A11.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A72A3
Deuteranopia (green-blind)
#7E869E
Tritanopia (blue-blind)
#D85071
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cc50a1;
/* rgb */ color: rgb(204, 80, 161);
/* oklch */ color: oklch(61.9% 0.180 343.6);
Tailwind
colors: {
  custom: {
    50: '#df88bd',
    500: '#cc50a1',
    950: '#000000',
  },
}
SCSS
$custom: #cc50a1;
$custom-light: #df88bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc50a1",
  "rgb": {
    "r": 204,
    "g": 80,
    "b": 161
  },
  "hsl": {
    "h": 320.806,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61944,
    "c": 0.18027,
    "h": 343.6
  },
  "luminance": 0.21148
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC50A1

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

Preview Lab → · Contrast checker → · Palette generator →

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