#CC508A#CC508A

#CC508A is a mid, vivid pink. Relative luminance 0.204; OKLCH L 61.1% C 0.168 H 354.1°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#CC508A
RGBrgb(204, 80, 138)
HSLhsl(332, 55%, 56%)
HSVhsv(332, 61%, 80%)
CMYKcmyk(0%, 60.8%, 32.4%, 20%)
CIE-LABlab(52.30, 54.73, -6.76)
CIE-LCHlch(52.30, 55.15, 352.96°)
OKLaboklab(61.08% 0.1667 -0.0172)
OKLCHoklch(61.08% 0.168 354.1)
XYZxyz(32.3596, 20.4131, 26.2758)
Luminance0.2041 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC508A #50CC92
analogous
#CC50C8 #CC508A #CC5450
triadic
#CC508A #8ACC50 #508ACC
tetradic
#CC508A #C8CC50 #50CC92 #5450CC
square
#CC508A #C8CC50 #50CC92 #5450CC
split-complementary
#CC508A #50CC54 #50C8CC
monochromatic
#7D244E #AD326B #CC508A #DA7FAA #E8AFC9

Accessibility & contrast

On white

4.13
#CC508A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#CC508A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC508A
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC508A#FFFFFF#000000##000000
##CC508A1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#636E8C
Deuteranopia (green-blind)
#858587
Tritanopia (blue-blind)
#DB4867
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cc508a;
/* rgb */ color: rgb(204, 80, 138);
/* oklch */ color: oklch(61.1% 0.168 354.1);
Tailwind
colors: {
  custom: {
    50: '#df87ac',
    500: '#cc508a',
    950: '#000000',
  },
}
SCSS
$custom: #cc508a;
$custom-light: #df87ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cc508a",
  "rgb": {
    "r": 204,
    "g": 80,
    "b": 138
  },
  "hsl": {
    "h": 331.935,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61076,
    "c": 0.16761,
    "h": 354.1
  },
  "luminance": 0.2041
}

Semantic roles & 50–950 ramp

primary
#CC508A
secondary
#A2D6BE
accent
#DE994A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CC508A

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

Preview Lab → · Contrast checker → · Palette generator →

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