#CC517C#CC517C

#CC517C is a mid, vivid pink. Relative luminance 0.202; OKLCH L 60.7% C 0.161 H 1.3°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#CC517C
RGBrgb(204, 81, 124)
HSLhsl(339, 55%, 56%)
HSVhsv(339, 60%, 80%)
CMYKcmyk(0%, 60.3%, 39.2%, 20%)
CIE-LABlab(52.04, 52.68, 1.21)
CIE-LCHlch(52.04, 52.69, 1.31°)
OKLaboklab(60.74% 0.1608 0.0038)
OKLCHoklch(60.74% 0.161 1.3)
XYZxyz(31.4843, 20.1810, 21.3022)
Luminance0.2018 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC517C #51CCA1
analogous
#CC51BA #CC517C #CC6351
triadic
#CC517C #7CCC51 #517CCC
tetradic
#CC517C #BACC51 #51CCA1 #6351CC
square
#CC517C #BACC51 #51CCA1 #6351CC
split-complementary
#CC517C #51CC63 #51BACC
monochromatic
#7E2544 #AD335D #CC517C #DA80A0 #E8B0C3

Accessibility & contrast

On white

4.17
#CC517C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#CC517C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC517C
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC517C#FFFFFF#000000##000000
##CC517C1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#686D7D
Deuteranopia (green-blind)
#888579
Tritanopia (blue-blind)
#DC4562
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cc517c;
/* rgb */ color: rgb(204, 81, 124);
/* oklch */ color: oklch(60.7% 0.161 1.3);
Tailwind
colors: {
  custom: {
    50: '#e088a1',
    500: '#cc517c',
    950: '#000000',
  },
}
SCSS
$custom: #cc517c;
$custom-light: #e088a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc517c",
  "rgb": {
    "r": 204,
    "g": 81,
    "b": 124
  },
  "hsl": {
    "h": 339.024,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60743,
    "c": 0.1608,
    "h": 1.3
  },
  "luminance": 0.20177
}

Semantic roles & 50–950 ramp

primary
#CC517C
secondary
#A3D6C4
accent
#DEAA4A
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0F
muted
#847D7E

Preview Lab

Preview with #CC517C

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

Preview Lab → · Contrast checker → · Palette generator →

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