#CC508C#CC508C

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

Color values

HEX#CC508C
RGBrgb(204, 80, 140)
HSLhsl(331, 55%, 56%)
HSVhsv(331, 61%, 80%)
CMYKcmyk(0%, 60.8%, 31.4%, 20%)
CIE-LABlab(52.37, 54.98, -7.85)
CIE-LCHlch(52.37, 55.53, 351.88°)
OKLaboklab(61.15% 0.1673 -0.0201)
OKLCHoklch(61.15% 0.169 353.2)
XYZxyz(32.5057, 20.4715, 27.0454)
Luminance0.2047 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC508C #50CC90
analogous
#CC50CA #CC508C #CC5250
triadic
#CC508C #8CCC50 #508CCC
tetradic
#CC508C #CACC50 #50CC90 #5250CC
square
#CC508C #CACC50 #50CC90 #5250CC
split-complementary
#CC508C #50CC52 #50CACC
monochromatic
#7D244F #AD326D #CC508C #DA7FAB #E8AFCA

Accessibility & contrast

On white

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

On black

5.09
#CC508C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC508C
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC508C#FFFFFF#000000##000000
##CC508C1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#626F8E
Deuteranopia (green-blind)
#848589
Tritanopia (blue-blind)
#DB4968
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cc508c;
/* rgb */ color: rgb(204, 80, 140);
/* oklch */ color: oklch(61.1% 0.169 353.2);
Tailwind
colors: {
  custom: {
    50: '#df87ad',
    500: '#cc508c',
    950: '#000000',
  },
}
SCSS
$custom: #cc508c;
$custom-light: #df87ad;
$custom-dark: #000000;
JSON
{
  "hex": "#cc508c",
  "rgb": {
    "r": 204,
    "g": 80,
    "b": 140
  },
  "hsl": {
    "h": 330.968,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61146,
    "c": 0.16854,
    "h": 353.2
  },
  "luminance": 0.20468
}

Semantic roles & 50–950 ramp

primary
#CC508C
secondary
#A2D6BD
accent
#DE964A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CC508C

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

Preview Lab → · Contrast checker → · Palette generator →

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