#CD518F#CD518F

#CD518F is a mid, vivid pink. Relative luminance 0.208; OKLCH L 61.5% C 0.169 H 352.1°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#CD518F
RGBrgb(205, 81, 143)
HSLhsl(330, 55%, 56%)
HSVhsv(330, 60%, 80%)
CMYKcmyk(0%, 60.5%, 30.2%, 19.6%)
CIE-LABlab(52.79, 55.21, -8.99)
CIE-LCHlch(52.79, 55.94, 350.76°)
OKLaboklab(61.52% 0.1679 -0.0231)
OKLCHoklch(61.52% 0.169 352.1)
XYZxyz(33.0787, 20.8505, 28.2638)
Luminance0.2085 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD518F #51CD8F
analogous
#CD51CD #CD518F #CD5151
triadic
#CD518F #8FCD51 #518FCD
tetradic
#CD518F #CDCD51 #51CD8F #5151CD
square
#CD518F #CDCD51 #51CD8F #5151CD
split-complementary
#CD518F #51CD51 #51CDCD
monochromatic
#7F2552 #AF3270 #CD518F #DB81AE #E8B0CC

Accessibility & contrast

On white

4.06
#CD518F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#CD518F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD518F
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD518F#FFFFFF#000000##000000
##CD518F1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#627091
Deuteranopia (green-blind)
#84868C
Tritanopia (blue-blind)
#DB4A6A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cd518f;
/* rgb */ color: rgb(205, 81, 143);
/* oklch */ color: oklch(61.5% 0.169 352.1);
Tailwind
colors: {
  custom: {
    50: '#e088af',
    500: '#cd518f',
    950: '#000000',
  },
}
SCSS
$custom: #cd518f;
$custom-light: #e088af;
$custom-dark: #000000;
JSON
{
  "hex": "#cd518f",
  "rgb": {
    "r": 205,
    "g": 81,
    "b": 143
  },
  "hsl": {
    "h": 330,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.6152,
    "c": 0.16945,
    "h": 352.1
  },
  "luminance": 0.20847
}

Semantic roles & 50–950 ramp

primary
#CD518F
secondary
#A3D7BD
accent
#DF9449
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CD518F

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

Preview Lab → · Contrast checker → · Palette generator →

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