#CC508F#CC508F

#CC508F is a mid, vivid pink. Relative luminance 0.206; OKLCH L 61.3% C 0.170 H 351.7°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#CC508F
RGBrgb(204, 80, 143)
HSLhsl(330, 55%, 56%)
HSVhsv(330, 61%, 80%)
CMYKcmyk(0%, 60.8%, 29.9%, 20%)
CIE-LABlab(52.47, 55.35, -9.48)
CIE-LCHlch(52.47, 56.15, 350.28°)
OKLaboklab(61.25% 0.1682 -0.0245)
OKLCHoklch(61.25% 0.17 351.7)
XYZxyz(32.7299, 20.5612, 28.2263)
Luminance0.2056 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC508F #50CC8D
analogous
#CB50CC #CC508F #CC5051
triadic
#CC508F #8FCC50 #508FCC
tetradic
#CC508F #CCCB50 #50CC8D #5051CC
square
#CC508F #CCCB50 #50CC8D #5051CC
split-complementary
#CC508F #51CC50 #50CCCB
monochromatic
#7D2452 #AD3270 #CC508F #DA7FAD #E8AFCC

Accessibility & contrast

On white

4.11
#CC508F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#CC508F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC508F
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC508F#FFFFFF#000000##000000
##CC508F1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#616F91
Deuteranopia (green-blind)
#83858C
Tritanopia (blue-blind)
#DA4A69
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cc508f;
/* rgb */ color: rgb(204, 80, 143);
/* oklch */ color: oklch(61.3% 0.170 351.7);
Tailwind
colors: {
  custom: {
    50: '#df87af',
    500: '#cc508f',
    950: '#000000',
  },
}
SCSS
$custom: #cc508f;
$custom-light: #df87af;
$custom-dark: #000000;
JSON
{
  "hex": "#cc508f",
  "rgb": {
    "r": 204,
    "g": 80,
    "b": 143
  },
  "hsl": {
    "h": 329.516,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61252,
    "c": 0.17,
    "h": 351.7
  },
  "luminance": 0.20558
}

Semantic roles & 50–950 ramp

primary
#CC508F
secondary
#A2D6BB
accent
#DE934A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CC508F

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

Preview Lab → · Contrast checker → · Palette generator →

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