#CD517D#CD517D

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

Color values

HEX#CD517D
RGBrgb(205, 81, 125)
HSLhsl(339, 55%, 56%)
HSVhsv(339, 60%, 80%)
CMYKcmyk(0%, 60.5%, 39%, 19.6%)
CIE-LABlab(52.23, 53.10, 0.90)
CIE-LCHlch(52.23, 53.11, 0.97°)
OKLaboklab(60.92% 0.1621 0.003)
OKLCHoklch(60.92% 0.162 1.1)
XYZxyz(31.8229, 20.3482, 21.6498)
Luminance0.2034 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD517D #51CDA1
analogous
#CD51BB #CD517D #CD6351
triadic
#CD517D #7DCD51 #517DCD
tetradic
#CD517D #BBCD51 #51CDA1 #6351CD
square
#CD517D #BBCD51 #51CDA1 #6351CD
split-complementary
#CD517D #51CD63 #51BBCD
monochromatic
#7F2545 #AF325E #CD517D #DB81A1 #E8B0C4

Accessibility & contrast

On white

4.14
#CD517D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#CD517D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD517D
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD517D#FFFFFF#000000##000000
##CD517D1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#686E7E
Deuteranopia (green-blind)
#89857A
Tritanopia (blue-blind)
#DD4562
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cd517d;
/* rgb */ color: rgb(205, 81, 125);
/* oklch */ color: oklch(60.9% 0.162 1.1);
Tailwind
colors: {
  custom: {
    50: '#e088a2',
    500: '#cd517d',
    950: '#000000',
  },
}
SCSS
$custom: #cd517d;
$custom-light: #e088a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd517d",
  "rgb": {
    "r": 205,
    "g": 81,
    "b": 125
  },
  "hsl": {
    "h": 338.71,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60923,
    "c": 0.16212,
    "h": 1.1
  },
  "luminance": 0.20345
}

Semantic roles & 50–950 ramp

primary
#CD517D
secondary
#A3D7C4
accent
#DFAA49
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0F
muted
#847D7E

Preview Lab

Preview with #CD517D

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

Preview Lab → · Contrast checker → · Palette generator →

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