Phthalocyanines are frequently used as probing molecules in the field of single-molecule surface-enhanced Raman spectroscopy (SERS) and tip-enhanced Raman spectroscopy (TERS). In this work, we systematically compare the SERS and TERS spectra from a thin cobalt phthalocyanine (CoPc) film that is deposited on a Au film. The contributions from electromagnetic (EM), resonance, and charge-transfer enhancements are discussed. Radially and azimuthally polarized vector beams are used to investigate the influences of molecular orientation and the localized surface plasmon resonance (SPR). Furthermore, two different excitation wavelengths (636 and 532 nm) are used to study the resonant excitation effect as well as the involvement of the charge-transfer processes between CoPc and the Au substrate. It is shown that the Raman peaks of CoPc are mostly enhanced by 636 nm excitation through a combination of resonant excitation, high EM enhancement, and chemical enhancement via charge transfer from the metal to the molecule. At 532 nm excitation, however, the SERS and TERS spectra are dominated by photoluminescence, which originates from a photo-induced charge-transfer process from the optically excited molecule to the metal. The contributions of the different enhancement mechanisms explain the optical contrasts seen in the TERS images of Au nanodisks covered by the CoPc film. The insight achieved in this work will help to understand the optical contrast in sub- or single-molecule TERS imaging and apply SERS or TERS in the field of photocatalysis.