#CD518D#CD518D

#CD518D is a mid, vivid pink. Relative luminance 0.208; OKLCH L 61.4% C 0.168 H 353.1°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#CD518D
RGBrgb(205, 81, 141)
HSLhsl(331, 55%, 56%)
HSVhsv(331, 60%, 80%)
CMYKcmyk(0%, 60.5%, 31.2%, 19.6%)
CIE-LABlab(52.72, 54.96, -7.90)
CIE-LCHlch(52.72, 55.53, 351.82°)
OKLaboklab(61.45% 0.1673 -0.0202)
OKLCHoklch(61.45% 0.168 353.1)
XYZxyz(32.9286, 20.7905, 27.4730)
Luminance0.2079 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD518D #51CD91
analogous
#CD51CB #CD518D #CD5351
triadic
#CD518D #8DCD51 #518DCD
tetradic
#CD518D #CBCD51 #51CD91 #5351CD
square
#CD518D #CBCD51 #51CD91 #5351CD
split-complementary
#CD518D #51CD53 #51CBCD
monochromatic
#7F2550 #AF326E #CD518D #DB81AC #E8B0CB

Accessibility & contrast

On white

4.07
#CD518D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#CD518D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD518D
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD518D#FFFFFF#000000##000000
##CD518D1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#63708F
Deuteranopia (green-blind)
#85868A
Tritanopia (blue-blind)
#DC4A69
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cd518d;
/* rgb */ color: rgb(205, 81, 141);
/* oklch */ color: oklch(61.4% 0.168 353.1);
Tailwind
colors: {
  custom: {
    50: '#e088ae',
    500: '#cd518d',
    950: '#000000',
  },
}
SCSS
$custom: #cd518d;
$custom-light: #e088ae;
$custom-dark: #000000;
JSON
{
  "hex": "#cd518d",
  "rgb": {
    "r": 205,
    "g": 81,
    "b": 141
  },
  "hsl": {
    "h": 330.968,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61449,
    "c": 0.16848,
    "h": 353.1
  },
  "luminance": 0.20787
}

Semantic roles & 50–950 ramp

primary
#CD518D
secondary
#A3D7BE
accent
#DF9649
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CD518D

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

Preview Lab → · Contrast checker → · Palette generator →

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