#CD517C#CD517C

#CD517C is a mid, vivid pink. Relative luminance 0.203; OKLCH L 60.9% C 0.162 H 1.6°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#CD517C
RGBrgb(205, 81, 124)
HSLhsl(339, 55%, 56%)
HSVhsv(339, 60%, 80%)
CMYKcmyk(0%, 60.5%, 39.5%, 19.6%)
CIE-LABlab(52.20, 52.99, 1.46)
CIE-LCHlch(52.20, 53.01, 1.58°)
OKLaboklab(60.89% 0.1617 0.0044)
OKLCHoklch(60.89% 0.162 1.6)
XYZxyz(31.7593, 20.3228, 21.3150)
Luminance0.2032 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD517C #51CDA2
analogous
#CD51BA #CD517C #CD6451
triadic
#CD517C #7CCD51 #517CCD
tetradic
#CD517C #BACD51 #51CDA2 #6451CD
square
#CD517C #BACD51 #51CDA2 #6451CD
split-complementary
#CD517C #51CD64 #51BACD
monochromatic
#7F2544 #AF325D #CD517C #DB81A0 #E8B0C4

Accessibility & contrast

On white

4.15
#CD517C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#CD517C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD517C
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD517C#FFFFFF#000000##000000
##CD517C1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#686E7D
Deuteranopia (green-blind)
#898579
Tritanopia (blue-blind)
#DD4462
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cd517c;
/* rgb */ color: rgb(205, 81, 124);
/* oklch */ color: oklch(60.9% 0.162 1.6);
Tailwind
colors: {
  custom: {
    50: '#e088a1',
    500: '#cd517c',
    950: '#000000',
  },
}
SCSS
$custom: #cd517c;
$custom-light: #e088a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd517c",
  "rgb": {
    "r": 205,
    "g": 81,
    "b": 124
  },
  "hsl": {
    "h": 339.194,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60893,
    "c": 0.1618,
    "h": 1.6
  },
  "luminance": 0.20319
}

Semantic roles & 50–950 ramp

primary
#CD517C
secondary
#A3D7C5
accent
#DFAB49
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0F
muted
#847D7E

Preview Lab

Preview with #CD517C

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

Preview Lab → · Contrast checker → · Palette generator →

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