The present invention provides novel compounds and pharmaceutical compositions containing such compounds, wherein the compounds have affinity for proteoglycans. The compounds comprise an amino acid based core unit linked to positively charged moieties. The compounds further comprise at least one imaging moiety detectable in in vivo imaging making the compounds useful as diagnostic contrast agents for imaging of proteoglycans, such as heparan sulphate proteoglycans.