#CD518A#CD518A

#CD518A is a mid, vivid pink. Relative luminance 0.207; OKLCH L 61.3% C 0.167 H 354.6°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#CD518A
RGBrgb(205, 81, 138)
HSLhsl(332, 55%, 56%)
HSVhsv(332, 60%, 80%)
CMYKcmyk(0%, 60.5%, 32.7%, 19.6%)
CIE-LABlab(52.62, 54.60, -6.26)
CIE-LCHlch(52.62, 54.96, 353.46°)
OKLaboklab(61.35% 0.1664 -0.0158)
OKLCHoklch(61.35% 0.167 354.6)
XYZxyz(32.7084, 20.7024, 26.3132)
Luminance0.2070 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD518A #51CD94
analogous
#CD51C8 #CD518A #CD5651
triadic
#CD518A #8ACD51 #518ACD
tetradic
#CD518A #C8CD51 #51CD94 #5651CD
square
#CD518A #C8CD51 #51CD94 #5651CD
split-complementary
#CD518A #51CD56 #51C8CD
monochromatic
#7F254E #AF326B #CD518A #DB81AA #E8B0CA

Accessibility & contrast

On white

4.09
#CD518A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#CD518A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD518A
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD518A#FFFFFF#000000##000000
##CD518A1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#646F8C
Deuteranopia (green-blind)
#868687
Tritanopia (blue-blind)
#DC4967
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cd518a;
/* rgb */ color: rgb(205, 81, 138);
/* oklch */ color: oklch(61.3% 0.167 354.6);
Tailwind
colors: {
  custom: {
    50: '#e088ac',
    500: '#cd518a',
    950: '#000000',
  },
}
SCSS
$custom: #cd518a;
$custom-light: #e088ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cd518a",
  "rgb": {
    "r": 205,
    "g": 81,
    "b": 138
  },
  "hsl": {
    "h": 332.419,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61345,
    "c": 0.1671,
    "h": 354.6
  },
  "luminance": 0.20699
}

Semantic roles & 50–950 ramp

primary
#CD518A
secondary
#A3D7BF
accent
#DF9A49
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CD518A

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

Preview Lab → · Contrast checker → · Palette generator →

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