#CC517B#CC517B

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

Color values

HEX#CC517B
RGBrgb(204, 81, 123)
HSLhsl(340, 55%, 56%)
HSVhsv(340, 60%, 80%)
CMYKcmyk(0%, 60.3%, 39.7%, 20%)
CIE-LABlab(52.01, 52.57, 1.76)
CIE-LCHlch(52.01, 52.60, 1.92°)
OKLaboklab(60.71% 0.1604 0.0052)
OKLCHoklch(60.71% 0.16 1.9)
XYZxyz(31.4214, 20.1558, 20.9708)
Luminance0.2015 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC517B #51CCA2
analogous
#CC51B9 #CC517B #CC6451
triadic
#CC517B #7BCC51 #517BCC
tetradic
#CC517B #B9CC51 #51CCA2 #6451CC
square
#CC517B #B9CC51 #51CCA2 #6451CC
split-complementary
#CC517B #51CC64 #51B9CC
monochromatic
#7E2543 #AD335D #CC517B #DA809F #E8B0C3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC517B#FFFFFF#000000##000000
##CC517B1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc517b;
/* rgb */ color: rgb(204, 81, 123);
/* oklch */ color: oklch(60.7% 0.160 1.9);
Tailwind
colors: {
  custom: {
    50: '#e088a1',
    500: '#cc517b',
    950: '#000000',
  },
}
SCSS
$custom: #cc517b;
$custom-light: #e088a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc517b",
  "rgb": {
    "r": 204,
    "g": 81,
    "b": 123
  },
  "hsl": {
    "h": 339.512,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60713,
    "c": 0.16049,
    "h": 1.9
  },
  "luminance": 0.20152
}

Semantic roles & 50–950 ramp

primary
#CC517B
secondary
#A3D6C4
accent
#DEAB4A
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CC517B

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

Preview Lab → · Contrast checker → · Palette generator →

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