Confirmatory identification of dyes in the physical pieces of evidence, such as hair and fabric, is critically important in forensics. This information can be used to demonstrate the link between a person of interest and a crime scene. High performance liquid chromatography is broadly used for dye analysis. However, this technique is destructive and laborious. This problem can be overcome by near-Infrared excitation Raman spectroscopy (NIeRS), non-invasive and non-destructive technique that can be used to determine chemical structure of highly fluorescent dyes. Analyzed fabric materials often possess body fluid stains, which may obscure the accuracy of NIeRS-based identification of dyes. In this study, we investigate the extent to which fabric contamination with body fluids can alter the accuracy of NIeRS. Our results showed that NIeRS coupled with partial-least squared discriminant analysis (PLS-DA) enabled on average 97.6% accurate identification of dyes on fabric contaminated with dry blood, urine and semen. We also found that NIeRS could be used to identify blood, urine and semen on such fabric with 99.4% accuracy. Furthermore, NIeRS could be used to differentiate between wet and dry blood, as well as reveal the presence of blood on washed fabric. These results indicate that NIeRS coupled with PLS-DA could be used as a robust and reliable analytical approach in forensic analysis of fabric.