#CC508D#CC508D

#CC508D is a mid, vivid pink. Relative luminance 0.205; OKLCH L 61.2% C 0.169 H 352.7°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#CC508D
RGBrgb(204, 80, 141)
HSLhsl(330, 55%, 56%)
HSVhsv(330, 61%, 80%)
CMYKcmyk(0%, 60.8%, 30.9%, 20%)
CIE-LABlab(52.40, 55.10, -8.39)
CIE-LCHlch(52.40, 55.74, 351.34°)
OKLaboklab(61.18% 0.1676 -0.0215)
OKLCHoklch(61.18% 0.169 352.7)
XYZxyz(32.5798, 20.5011, 27.4355)
Luminance0.2050 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC508D #50CC8F
analogous
#CC50CB #CC508D #CC5150
triadic
#CC508D #8DCC50 #508DCC
tetradic
#CC508D #CBCC50 #50CC8F #5150CC
square
#CC508D #CBCC50 #50CC8F #5150CC
split-complementary
#CC508D #50CC51 #50CBCC
monochromatic
#7D2450 #AD326E #CC508D #DA7FAC #E8AFCB

Accessibility & contrast

On white

4.12
#CC508D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#CC508D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC508D
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC508D#FFFFFF#000000##000000
##CC508D1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#626F8F
Deuteranopia (green-blind)
#84858A
Tritanopia (blue-blind)
#DA4968
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cc508d;
/* rgb */ color: rgb(204, 80, 141);
/* oklch */ color: oklch(61.2% 0.169 352.7);
Tailwind
colors: {
  custom: {
    50: '#df87ae',
    500: '#cc508d',
    950: '#000000',
  },
}
SCSS
$custom: #cc508d;
$custom-light: #df87ae;
$custom-dark: #000000;
JSON
{
  "hex": "#cc508d",
  "rgb": {
    "r": 204,
    "g": 80,
    "b": 141
  },
  "hsl": {
    "h": 330.484,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61181,
    "c": 0.16902,
    "h": 352.7
  },
  "luminance": 0.20498
}

Semantic roles & 50–950 ramp

primary
#CC508D
secondary
#A2D6BC
accent
#DE954A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CC508D

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

Preview Lab → · Contrast checker → · Palette generator →

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