#CD518C#CD518C

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

Color values

HEX#CD518C
RGBrgb(205, 81, 140)
HSLhsl(331, 55%, 56%)
HSVhsv(331, 60%, 80%)
CMYKcmyk(0%, 60.5%, 31.7%, 19.6%)
CIE-LABlab(52.69, 54.84, -7.35)
CIE-LCHlch(52.69, 55.33, 352.36°)
OKLaboklab(61.41% 0.167 -0.0188)
OKLCHoklch(61.41% 0.168 353.6)
XYZxyz(32.8545, 20.7608, 27.0829)
Luminance0.2076 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD518C #51CD92
analogous
#CD51CA #CD518C #CD5451
triadic
#CD518C #8CCD51 #518CCD
tetradic
#CD518C #CACD51 #51CD92 #5451CD
square
#CD518C #CACD51 #51CD92 #5451CD
split-complementary
#CD518C #51CD54 #51CACD
monochromatic
#7F2550 #AF326D #CD518C #DB81AB #E8B0CB

Accessibility & contrast

On white

4.08
#CD518C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#CD518C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD518C
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD518C#FFFFFF#000000##000000
##CD518C1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#63708E
Deuteranopia (green-blind)
#858689
Tritanopia (blue-blind)
#DC4968
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cd518c;
/* rgb */ color: rgb(205, 81, 140);
/* oklch */ color: oklch(61.4% 0.168 353.6);
Tailwind
colors: {
  custom: {
    50: '#e088ad',
    500: '#cd518c',
    950: '#000000',
  },
}
SCSS
$custom: #cd518c;
$custom-light: #e088ad;
$custom-dark: #000000;
JSON
{
  "hex": "#cd518c",
  "rgb": {
    "r": 205,
    "g": 81,
    "b": 140
  },
  "hsl": {
    "h": 331.452,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61414,
    "c": 0.16801,
    "h": 353.6
  },
  "luminance": 0.20757
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD518C

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

Preview Lab → · Contrast checker → · Palette generator →

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