#CC517D#CC517D

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

Color values

HEX#CC517D
RGBrgb(204, 81, 125)
HSLhsl(339, 55%, 56%)
HSVhsv(339, 60%, 80%)
CMYKcmyk(0%, 60.3%, 38.7%, 20%)
CIE-LABlab(52.07, 52.79, 0.65)
CIE-LCHlch(52.07, 52.79, 0.71°)
OKLaboklab(60.77% 0.1611 0.0023)
OKLCHoklch(60.77% 0.161 0.8)
XYZxyz(31.5479, 20.2064, 21.6369)
Luminance0.2020 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC517D #51CCA0
analogous
#CC51BA #CC517D #CC6251
triadic
#CC517D #7DCC51 #517DCC
tetradic
#CC517D #BACC51 #51CCA0 #6251CC
square
#CC517D #BACC51 #51CCA0 #6251CC
split-complementary
#CC517D #51CC62 #51BACC
monochromatic
#7E2545 #AD335E #CC517D #DA80A0 #E8B0C4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC517D#FFFFFF#000000##000000
##CC517D1.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)
#676D7E
Deuteranopia (green-blind)
#88857A
Tritanopia (blue-blind)
#DC4562
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cc517d;
/* rgb */ color: rgb(204, 81, 125);
/* oklch */ color: oklch(60.8% 0.161 0.8);
Tailwind
colors: {
  custom: {
    50: '#e088a2',
    500: '#cc517d',
    950: '#000000',
  },
}
SCSS
$custom: #cc517d;
$custom-light: #e088a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc517d",
  "rgb": {
    "r": 204,
    "g": 81,
    "b": 125
  },
  "hsl": {
    "h": 338.537,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60774,
    "c": 0.16112,
    "h": 0.8
  },
  "luminance": 0.20203
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC517D

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

Preview Lab → · Contrast checker → · Palette generator →

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