#CC509F#CC509F

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

Color values

HEX#CC509F
RGBrgb(204, 80, 159)
HSLhsl(322, 55%, 56%)
HSVhsv(322, 61%, 80%)
CMYKcmyk(0%, 60.8%, 22.1%, 20%)
CIE-LABlab(53.04, 57.46, -18.07)
CIE-LCHlch(53.04, 60.23, 342.55°)
OKLaboklab(61.86% 0.1725 -0.048)
OKLCHoklch(61.86% 0.179 344.4)
XYZxyz(34.0296, 21.0810, 35.0710)
Luminance0.2108 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC509F #50CC7D
analogous
#BB50CC #CC509F #CC5061
triadic
#CC509F #9FCC50 #509FCC
tetradic
#CC509F #CCBB50 #50CC7D #5061CC
square
#CC509F #CCBB50 #50CC7D #5061CC
split-complementary
#CC509F #61CC50 #50CCBB
monochromatic
#7D245D #AD3280 #CC509F #DA7FB9 #E8AFD3

Accessibility & contrast

On white

4.03
#CC509F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#CC509F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC509F
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC509F#FFFFFF#000000##000000
##CC509F1.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B71A1
Deuteranopia (green-blind)
#7F869C
Tritanopia (blue-blind)
#D84F71
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cc509f;
/* rgb */ color: rgb(204, 80, 159);
/* oklch */ color: oklch(61.9% 0.179 344.4);
Tailwind
colors: {
  custom: {
    50: '#df88bb',
    500: '#cc509f',
    950: '#000000',
  },
}
SCSS
$custom: #cc509f;
$custom-light: #df88bb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc509f",
  "rgb": {
    "r": 204,
    "g": 80,
    "b": 159
  },
  "hsl": {
    "h": 321.774,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61863,
    "c": 0.17902,
    "h": 344.4
  },
  "luminance": 0.21078
}

Semantic roles & 50–950 ramp

primary
#CC509F
secondary
#A2D6B5
accent
#DE804A
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CC509F

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

Preview Lab → · Contrast checker → · Palette generator →

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