#CD518E#CD518E

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

Color values

HEX#CD518E
RGBrgb(205, 81, 142)
HSLhsl(330, 55%, 56%)
HSVhsv(330, 60%, 80%)
CMYKcmyk(0%, 60.5%, 30.7%, 19.6%)
CIE-LABlab(52.75, 55.09, -8.44)
CIE-LCHlch(52.75, 55.73, 351.29°)
OKLaboklab(61.48% 0.1676 -0.0217)
OKLCHoklch(61.48% 0.169 352.6)
XYZxyz(33.0033, 20.8204, 27.8666)
Luminance0.2082 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD518E #51CD90
analogous
#CD51CC #CD518E #CD5251
triadic
#CD518E #8ECD51 #518ECD
tetradic
#CD518E #CCCD51 #51CD90 #5251CD
square
#CD518E #CCCD51 #51CD90 #5251CD
split-complementary
#CD518E #51CD52 #51CCCD
monochromatic
#7F2551 #AF326F #CD518E #DB81AD #E8B0CC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD518E#FFFFFF#000000##000000
##CD518E1.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)
#637090
Deuteranopia (green-blind)
#85868B
Tritanopia (blue-blind)
#DB4A69
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cd518e;
/* rgb */ color: rgb(205, 81, 142);
/* oklch */ color: oklch(61.5% 0.169 352.6);
Tailwind
colors: {
  custom: {
    50: '#e088af',
    500: '#cd518e',
    950: '#000000',
  },
}
SCSS
$custom: #cd518e;
$custom-light: #e088af;
$custom-dark: #000000;
JSON
{
  "hex": "#cd518e",
  "rgb": {
    "r": 205,
    "g": 81,
    "b": 142
  },
  "hsl": {
    "h": 330.484,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61484,
    "c": 0.16896,
    "h": 352.6
  },
  "luminance": 0.20817
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD518E

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

Preview Lab → · Contrast checker → · Palette generator →

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