#CC508B#CC508B

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

Color values

HEX#CC508B
RGBrgb(204, 80, 139)
HSLhsl(331, 55%, 56%)
HSVhsv(331, 61%, 80%)
CMYKcmyk(0%, 60.8%, 31.9%, 20%)
CIE-LABlab(52.33, 54.85, -7.30)
CIE-LCHlch(52.33, 55.34, 352.42°)
OKLaboklab(61.11% 0.167 -0.0186)
OKLCHoklch(61.11% 0.168 353.6)
XYZxyz(32.4323, 20.4421, 26.6588)
Luminance0.2044 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC508B #50CC91
analogous
#CC50C9 #CC508B #CC5350
triadic
#CC508B #8BCC50 #508BCC
tetradic
#CC508B #C9CC50 #50CC91 #5350CC
square
#CC508B #C9CC50 #50CC91 #5350CC
split-complementary
#CC508B #50CC53 #50C9CC
monochromatic
#7D244F #AD326C #CC508B #DA7FAA #E8AFCA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC508B#FFFFFF#000000##000000
##CC508B1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc508b;
/* rgb */ color: rgb(204, 80, 139);
/* oklch */ color: oklch(61.1% 0.168 353.6);
Tailwind
colors: {
  custom: {
    50: '#df87ac',
    500: '#cc508b',
    950: '#000000',
  },
}
SCSS
$custom: #cc508b;
$custom-light: #df87ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cc508b",
  "rgb": {
    "r": 204,
    "g": 80,
    "b": 139
  },
  "hsl": {
    "h": 331.452,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61111,
    "c": 0.16807,
    "h": 353.6
  },
  "luminance": 0.20439
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC508B

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

Preview Lab → · Contrast checker → · Palette generator →

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