#CD519E#CD519E

#CD519E is a light, vivid pink. Relative luminance 0.213; OKLCH L 62.1% C 0.178 H 345.3°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#CD519E
RGBrgb(205, 81, 158)
HSLhsl(323, 55%, 56%)
HSVhsv(323, 60%, 80%)
CMYKcmyk(0%, 60.5%, 22.9%, 19.6%)
CIE-LABlab(53.32, 57.18, -17.04)
CIE-LCHlch(53.32, 59.66, 343.40°)
OKLaboklab(62.09% 0.1719 -0.0452)
OKLCHoklch(62.09% 0.178 345.3)
XYZxyz(34.2919, 21.3358, 34.6533)
Luminance0.2133 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD519E #51CD80
analogous
#BE51CD #CD519E #CD5160
triadic
#CD519E #9ECD51 #519ECD
tetradic
#CD519E #CDBE51 #51CD80 #5160CD
square
#CD519E #CDBE51 #51CD80 #5160CD
split-complementary
#CD519E #60CD51 #51CDBE
monochromatic
#7F255D #AF327F #CD519E #DB81B9 #E8B0D3

Accessibility & contrast

On white

3.99
#CD519E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#CD519E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD519E
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD519E#FFFFFF#000000##000000
##CD519E1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D72A0
Deuteranopia (green-blind)
#80879B
Tritanopia (blue-blind)
#DA4F71
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cd519e;
/* rgb */ color: rgb(205, 81, 158);
/* oklch */ color: oklch(62.1% 0.178 345.3);
Tailwind
colors: {
  custom: {
    50: '#e088ba',
    500: '#cd519e',
    950: '#000000',
  },
}
SCSS
$custom: #cd519e;
$custom-light: #e088ba;
$custom-dark: #000000;
JSON
{
  "hex": "#cd519e",
  "rgb": {
    "r": 205,
    "g": 81,
    "b": 158
  },
  "hsl": {
    "h": 322.742,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.62086,
    "c": 0.17773,
    "h": 345.3
  },
  "luminance": 0.21333
}

Semantic roles & 50–950 ramp

primary
#CD519E
secondary
#A3D7B7
accent
#DF8249
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CD519E

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

Preview Lab → · Contrast checker → · Palette generator →

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