#CC509A#CC509A

#CC509A is a mid, vivid pink. Relative luminance 0.209; OKLCH L 61.7% C 0.176 H 346.6°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#CC509A
RGBrgb(204, 80, 154)
HSLhsl(324, 55%, 56%)
HSVhsv(324, 61%, 80%)
CMYKcmyk(0%, 60.8%, 24.5%, 20%)
CIE-LABlab(52.85, 56.78, -15.40)
CIE-LCHlch(52.85, 58.83, 344.82°)
OKLaboklab(61.67% 0.1712 -0.0406)
OKLCHoklch(61.67% 0.176 346.6)
XYZxyz(33.6044, 20.9110, 32.8320)
Luminance0.2091 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC509A #50CC82
analogous
#C050CC #CC509A #CC505C
triadic
#CC509A #9ACC50 #509ACC
tetradic
#CC509A #CCC050 #50CC82 #505CCC
square
#CC509A #CCC050 #50CC82 #505CCC
split-complementary
#CC509A #5CCC50 #50CCC0
monochromatic
#7D2459 #AD327B #CC509A #DA7FB5 #E8AFD1

Accessibility & contrast

On white

4.05
#CC509A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#CC509A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC509A
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC509A#FFFFFF#000000##000000
##CC509A1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D719C
Deuteranopia (green-blind)
#808697
Tritanopia (blue-blind)
#D94D6E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cc509a;
/* rgb */ color: rgb(204, 80, 154);
/* oklch */ color: oklch(61.7% 0.176 346.6);
Tailwind
colors: {
  custom: {
    50: '#df88b7',
    500: '#cc509a',
    950: '#000000',
  },
}
SCSS
$custom: #cc509a;
$custom-light: #df88b7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc509a",
  "rgb": {
    "r": 204,
    "g": 80,
    "b": 154
  },
  "hsl": {
    "h": 324.194,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61665,
    "c": 0.17599,
    "h": 346.6
  },
  "luminance": 0.20908
}

Semantic roles & 50–950 ramp

primary
#CC509A
secondary
#A2D6B7
accent
#DE864A
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CC509A

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

Preview Lab → · Contrast checker → · Palette generator →

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