#CC517A#CC517A

#CC517A is a mid, vivid pink. Relative luminance 0.201; OKLCH L 60.7% C 0.160 H 2.4°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#CC517A
RGBrgb(204, 81, 122)
HSLhsl(340, 55%, 56%)
HSVhsv(340, 60%, 80%)
CMYKcmyk(0%, 60.3%, 40.2%, 20%)
CIE-LABlab(51.98, 52.46, 2.32)
CIE-LCHlch(51.98, 52.51, 2.53°)
OKLaboklab(60.68% 0.1601 0.0066)
OKLCHoklch(60.68% 0.16 2.4)
XYZxyz(31.3591, 20.1309, 20.6428)
Luminance0.2013 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC517A #51CCA3
analogous
#CC51B7 #CC517A #CC6551
triadic
#CC517A #7ACC51 #517ACC
tetradic
#CC517A #B7CC51 #51CCA3 #6551CC
square
#CC517A #B7CC51 #51CCA3 #6551CC
split-complementary
#CC517A #51CC65 #51B7CC
monochromatic
#7E2542 #AD335C #CC517A #DA809E #E8B0C2

Accessibility & contrast

On white

4.18
#CC517A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#CC517A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC517A
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC517A#FFFFFF#000000##000000
##CC517A1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#686D7B
Deuteranopia (green-blind)
#898577
Tritanopia (blue-blind)
#DC4461
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cc517a;
/* rgb */ color: rgb(204, 81, 122);
/* oklch */ color: oklch(60.7% 0.160 2.4);
Tailwind
colors: {
  custom: {
    50: '#e088a0',
    500: '#cc517a',
    950: '#000000',
  },
}
SCSS
$custom: #cc517a;
$custom-light: #e088a0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc517a",
  "rgb": {
    "r": 204,
    "g": 81,
    "b": 122
  },
  "hsl": {
    "h": 340,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60683,
    "c": 0.1602,
    "h": 2.4
  },
  "luminance": 0.20127
}

Semantic roles & 50–950 ramp

primary
#CC517A
secondary
#A3D6C5
accent
#DEAD4A
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CC517A

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

Preview Lab → · Contrast checker → · Palette generator →

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