Localized surface plasmon resonances induce strong modifications of surface-enhanced Raman spectra. Here the authors propose a robust method to retrieve the fingerprint of intrinsic chemical information by using the photoluminescence of the metallic structures to correct the spectra.