#CD517E#CD517E

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

Color values

HEX#CD517E
RGBrgb(205, 81, 126)
HSLhsl(338, 55%, 56%)
HSVhsv(338, 60%, 80%)
CMYKcmyk(0%, 60.5%, 38.5%, 19.6%)
CIE-LABlab(52.26, 53.21, 0.35)
CIE-LCHlch(52.26, 53.21, 0.37°)
OKLaboklab(60.95% 0.1624 0.0016)
OKLCHoklch(60.95% 0.162 0.5)
XYZxyz(31.8871, 20.3739, 21.9879)
Luminance0.2037 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD517E #51CDA0
analogous
#CD51BC #CD517E #CD6251
triadic
#CD517E #7ECD51 #517ECD
tetradic
#CD517E #BCCD51 #51CDA0 #6251CD
square
#CD517E #BCCD51 #51CDA0 #6251CD
split-complementary
#CD517E #51CD62 #51BCCD
monochromatic
#7F2545 #AF325F #CD517E #DB81A1 #E8B0C4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD517E#FFFFFF#000000##000000
##CD517E1.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)
#676E7F
Deuteranopia (green-blind)
#88857B
Tritanopia (blue-blind)
#DD4562
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cd517e;
/* rgb */ color: rgb(205, 81, 126);
/* oklch */ color: oklch(61.0% 0.162 0.5);
Tailwind
colors: {
  custom: {
    50: '#e088a3',
    500: '#cd517e',
    950: '#000000',
  },
}
SCSS
$custom: #cd517e;
$custom-light: #e088a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd517e",
  "rgb": {
    "r": 205,
    "g": 81,
    "b": 126
  },
  "hsl": {
    "h": 338.226,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60954,
    "c": 0.16244,
    "h": 0.5
  },
  "luminance": 0.2037
}

Semantic roles & 50–950 ramp

primary
#CD517E
secondary
#A3D7C4
accent
#DFA849
background
#FEF8FA
surface
#FDF0F3
border
#D5CBCD
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CD517E

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

Preview Lab → · Contrast checker → · Palette generator →

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