#CC508E#CC508E

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

Color values

HEX#CC508E
RGBrgb(204, 80, 142)
HSLhsl(330, 55%, 56%)
HSVhsv(330, 61%, 80%)
CMYKcmyk(0%, 60.8%, 30.4%, 20%)
CIE-LABlab(52.43, 55.22, -8.94)
CIE-LCHlch(52.43, 55.94, 350.81°)
OKLaboklab(61.22% 0.1679 -0.023)
OKLCHoklch(61.22% 0.17 352.2)
XYZxyz(32.6545, 20.5310, 27.8291)
Luminance0.2053 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC508E #50CC8E
analogous
#CC50CC #CC508E #CC5050
triadic
#CC508E #8ECC50 #508ECC
tetradic
#CC508E #CCCC50 #50CC8E #5050CC
square
#CC508E #CCCC50 #50CC8E #5050CC
split-complementary
#CC508E #50CC50 #50CCCC
monochromatic
#7D2451 #AD326F #CC508E #DA7FAD #E8AFCB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC508E#FFFFFF#000000##000000
##CC508E1.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)
#626F90
Deuteranopia (green-blind)
#84858B
Tritanopia (blue-blind)
#DA4969
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cc508e;
/* rgb */ color: rgb(204, 80, 142);
/* oklch */ color: oklch(61.2% 0.170 352.2);
Tailwind
colors: {
  custom: {
    50: '#df87af',
    500: '#cc508e',
    950: '#000000',
  },
}
SCSS
$custom: #cc508e;
$custom-light: #df87af;
$custom-dark: #000000;
JSON
{
  "hex": "#cc508e",
  "rgb": {
    "r": 204,
    "g": 80,
    "b": 142
  },
  "hsl": {
    "h": 330,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61216,
    "c": 0.16951,
    "h": 352.2
  },
  "luminance": 0.20528
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC508E

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

Preview Lab → · Contrast checker → · Palette generator →

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