Issue 28, 2025

Rapid detection of colorants in black tea using mid- and short-wave near infrared spectroscopy

Abstract

This study investigated the feasibility of using mid- and short-wave near-infrared (MS-NIR) spectroscopy for the rapid detection of colorants in black tea. A portable spectrometer was employed to acquire MS-NIR spectra from black tea samples. Support vector machine (SVM) and random forest (RF) models were developed for the discriminative detection of three colorants: tartrazine, sunset yellow, and ponceau 4R. The spectral preprocessing was optimized, and the predictive performance of the models was evaluated using validation data. The results indicated that, owing to the low concentration of colorants in black tea, the MS-NIR-based model was unsuitable for quantitative detection but effective for determining whether colorants were present. Overall, the discriminative capability of the SVM model surpassed that of the RF model. Following spectral preprocessing, the optimal SVM model achieved accuracy, precision, recall, and F1-score values of (97.50%, 96.15%, 100.00%, 0.9804), (95.00%, 96.00%, 96.00%, 0.9600), and (97.50%, 96.15%, 100.00%, 0.9804) for tartrazine, sunset yellow, and ponceau 4R, respectively. These findings demonstrate the feasibility of using MS-NIR for the rapid and discriminative identification of colorants in black tea. In practical applications, discriminative detection can serve as an initial rapid screening tool, followed by more precise quantitative detection methods to determine colorant concentrations.

Graphical abstract: Rapid detection of colorants in black tea using mid- and short-wave near infrared spectroscopy

Supplementary files

Article information

Article type
Paper
Submitted
23 Mar 2025
Accepted
25 Jun 2025
First published
30 Jun 2025

Anal. Methods, 2025,17, 5897-5905

Rapid detection of colorants in black tea using mid- and short-wave near infrared spectroscopy

Z. Luo, Y. Chai, G. Zhao, D. Qiao, F. Ye, L. Lei and J. Chen, Anal. Methods, 2025, 17, 5897 DOI: 10.1039/D5AY00480B

To request permission to reproduce material from this article, please go to the Copyright Clearance Center request page.

If you are an author contributing to an RSC publication, you do not need to request permission provided correct acknowledgement is given.

If you are the author of this article, you do not need to request permission to reproduce figures and diagrams provided correct acknowledgement is given. If you want to reproduce the whole article in a third-party publication (excluding your thesis/dissertation for which permission is not required) please go to the Copyright Clearance Center request page.

Read more about how to correctly acknowledge RSC content.

Social activity

Spotlight

Advertisements