#CD517F#CD517F

#CD517F is a mid, vivid pink. Relative luminance 0.204; OKLCH L 61.0% C 0.163 H 0.0°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#CD517F
RGBrgb(205, 81, 127)
HSLhsl(338, 55%, 56%)
HSVhsv(338, 60%, 80%)
CMYKcmyk(0%, 60.5%, 38%, 19.6%)
CIE-LABlab(52.29, 53.32, -0.21)
CIE-LCHlch(52.29, 53.32, 359.78°)
OKLaboklab(60.99% 0.1628 0.0001)
OKLCHoklch(60.99% 0.163 0)
XYZxyz(31.9520, 20.3998, 22.3294)
Luminance0.2040 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD517F #51CD9F
analogous
#CD51BD #CD517F #CD6151
triadic
#CD517F #7FCD51 #517FCD
tetradic
#CD517F #BDCD51 #51CD9F #6151CD
square
#CD517F #BDCD51 #51CD9F #6151CD
split-complementary
#CD517F #51CD61 #51BDCD
monochromatic
#7F2546 #AF3260 #CD517F #DB81A2 #E8B0C5

Accessibility & contrast

On white

4.13
#CD517F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#CD517F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD517F
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD517F#FFFFFF#000000##000000
##CD517F1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#676E80
Deuteranopia (green-blind)
#88857C
Tritanopia (blue-blind)
#DD4563
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cd517f;
/* rgb */ color: rgb(205, 81, 127);
/* oklch */ color: oklch(61.0% 0.163 0.0);
Tailwind
colors: {
  custom: {
    50: '#e088a4',
    500: '#cd517f',
    950: '#000000',
  },
}
SCSS
$custom: #cd517f;
$custom-light: #e088a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd517f",
  "rgb": {
    "r": 205,
    "g": 81,
    "b": 127
  },
  "hsl": {
    "h": 337.742,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60985,
    "c": 0.16277,
    "h": 0
  },
  "luminance": 0.20396
}

Semantic roles & 50–950 ramp

primary
#CD517F
secondary
#A3D7C4
accent
#DFA749
background
#FEF8FA
surface
#FCF0F3
border
#D5CBCD
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CD517F

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

Preview Lab → · Contrast checker → · Palette generator →

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