#CD517A#CD517A

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

Color values

HEX#CD517A
RGBrgb(205, 81, 122)
HSLhsl(340, 55%, 56%)
HSVhsv(340, 60%, 80%)
CMYKcmyk(0%, 60.5%, 40.5%, 19.6%)
CIE-LABlab(52.14, 52.78, 2.57)
CIE-LCHlch(52.14, 52.84, 2.79°)
OKLaboklab(60.83% 0.161 0.0073)
OKLCHoklch(60.83% 0.161 2.6)
XYZxyz(31.6341, 20.2727, 20.6557)
Luminance0.2027 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD517A #51CDA4
analogous
#CD51B8 #CD517A #CD6651
triadic
#CD517A #7ACD51 #517ACD
tetradic
#CD517A #B8CD51 #51CDA4 #6651CD
square
#CD517A #B8CD51 #51CDA4 #6651CD
split-complementary
#CD517A #51CD66 #51B8CD
monochromatic
#7F2542 #AF325B #CD517A #DB819E #E8B0C3

Accessibility & contrast

On white

4.16
#CD517A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#CD517A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD517A
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD517A#FFFFFF#000000##000000
##CD517A1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#686D7B
Deuteranopia (green-blind)
#898577
Tritanopia (blue-blind)
#DD4461
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cd517a;
/* rgb */ color: rgb(205, 81, 122);
/* oklch */ color: oklch(60.8% 0.161 2.6);
Tailwind
colors: {
  custom: {
    50: '#e188a0',
    500: '#cd517a',
    950: '#000000',
  },
}
SCSS
$custom: #cd517a;
$custom-light: #e188a0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd517a",
  "rgb": {
    "r": 205,
    "g": 81,
    "b": 122
  },
  "hsl": {
    "h": 340.161,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60832,
    "c": 0.1612,
    "h": 2.6
  },
  "luminance": 0.20269
}

Semantic roles & 50–950 ramp

primary
#CD517A
secondary
#A3D7C6
accent
#DFAD49
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CD517A

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

Preview Lab → · Contrast checker → · Palette generator →

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