#CC509B#CC509B

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

Color values

HEX#CC509B
RGBrgb(204, 80, 155)
HSLhsl(324, 55%, 56%)
HSVhsv(324, 61%, 80%)
CMYKcmyk(0%, 60.8%, 24%, 20%)
CIE-LABlab(52.89, 56.91, -15.94)
CIE-LCHlch(52.89, 59.10, 344.36°)
OKLaboklab(61.7% 0.1715 -0.0421)
OKLCHoklch(61.7% 0.177 346.2)
XYZxyz(33.6881, 20.9444, 33.2725)
Luminance0.2094 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC509B #50CC81
analogous
#BF50CC #CC509B #CC505D
triadic
#CC509B #9BCC50 #509BCC
tetradic
#CC509B #CCBF50 #50CC81 #505DCC
square
#CC509B #CCBF50 #50CC81 #505DCC
split-complementary
#CC509B #5DCC50 #50CCBF
monochromatic
#7D245A #AD327C #CC509B #DA7FB6 #E8AFD1

Accessibility & contrast

On white

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

On black

5.19
#CC509B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC509B
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC509B#FFFFFF#000000##000000
##CC509B1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D719D
Deuteranopia (green-blind)
#808698
Tritanopia (blue-blind)
#D94E6F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cc509b;
/* rgb */ color: rgb(204, 80, 155);
/* oklch */ color: oklch(61.7% 0.177 346.2);
Tailwind
colors: {
  custom: {
    50: '#df88b8',
    500: '#cc509b',
    950: '#000000',
  },
}
SCSS
$custom: #cc509b;
$custom-light: #df88b8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc509b",
  "rgb": {
    "r": 204,
    "g": 80,
    "b": 155
  },
  "hsl": {
    "h": 323.71,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61704,
    "c": 0.17658,
    "h": 346.2
  },
  "luminance": 0.20941
}

Semantic roles & 50–950 ramp

primary
#CC509B
secondary
#A2D6B6
accent
#DE844A
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CC509B

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

Preview Lab → · Contrast checker → · Palette generator →

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