Open Access Article
Cagla Celik Yoldas
*a,
Nimet Temur
b,
Nilay Ildizc,
Pinar Sagiroglud,
Mustafa Altay Atalayd,
Ali Yilmaze,
Ersen Gokturkf and
Ismail Ocsoy
b
aDepartment of Analytical Chemistry, Faculty of Pharmacy, Harran University, 63050, Sanliurfa, Türkiye. E-mail: caglacelik@harran.edu.tr
bDepartment of Analytical Chemistry, Faculty of Pharmacy, Erciyes University, 38039, Kayseri, Türkiye
cMedical Imaging Department, Vocational School of Health Services, Bandirma Onyedi Eylul University, 10200, Balikesir, Türkiye
dDepartment of Medical Microbiology, Faculty of Medicine, Erciyes University, 38039, Kayseri, Türkiye
eDepartment of Neurosurgery, Faculty of Medicine, Ordu University, 52200, Ordu, Türkiye
fDepartment of Chemistry, Hatay Mustafa Kemal University, Hatay, 31001, Türkiye
First published on 17th February 2026
Although Streptococcus pneumoniae (S. pneumoniae) is routinely identified using various clinical methods, most existing techniques are complicated, time-consuming, and require expensive equipment. Consequently, there is a critical need for rapid, sensitive, and economical detection methods. Herein, we report a rationally designed colorimetric assay incorporating biocompatible anthocyanins for the rapid detection of S. pneumoniae via the naked eye and image processing software. Unlike conventional anthocyanin-based assays that rely on pH-dependent color changes, our approach uses anthocyanins as oxidative degradation probes rather than pH indicators. The detection mechanism relies on the oxidative degradation of anthocyanins by hydrogen peroxide (H2O2), a key virulence factor secreted by S. pneumoniae, which induces a distinct color shift to gray. We systematically evaluated the performance of this assay in various matrices, including growth medium, saline solution, and artificial cerebrospinal fluid (aCSF). Bacterial suspensions of 1.0 and 1.5 McFarland were colorimetrically detected within 90 and 30 minutes, respectively, through naked-eye observation and Delta-E analysis. This study demonstrates a highly stable, cost-effective, and easy-to-prepare diagnostic tool that offers significant advantages over traditional methods for point-of-care testing.
000 deaths were caused by pneumococcus in 2019, 225
000 of which occurred in children under five years old.3,4 Researchers uncovered that pneumococci were associated with the highest number of deaths in young children.1,4 Following the emergence of SARS-CoV-2, S. pneumoniae has been the most frequently observed co-infecting organism with SARS-CoV-2 in patients.5 In the 2024 Bacterial Priority Pathogens List (BPPL) published by the World Health Organization (WHO), macrolide-resistant Group A Streptococci and penicillin-resistant Group B Streptococci were added to the list for the first time. In addition to that pneumococci were identified as one of the 24 priority pathogens requiring urgent new antibiotics in the final ranking of antibiotic-resistant bacteria in the 2024 WHO BPPL.6
It is vitally important to quickly and correctly treat infections associated with S. pneumoniae in order to normalize the critical situation. In most clinical laboratories, S. pneumoniae is typically identified through characteristic phenotypes, including microscopic morphology (light-pointed, cocci-shaped, Gram-positive bacteria that are usually found in pairs), colony morphology, α-hemolysis observed on blood agar, catalase negativity, optochin sensitivity and bile solubility.7 Traditional pathogen detection methods also include microbial culture, molecular biology detection and immunological tests.8 Although microbial culture is the gold standard method, the procedure is complex and time-consuming (3–5 days). This is not suitable for the rapid on-site detection and primary screening of bulk samples.9 Molecular biology detection technology is more sensitive, but requires sensitive equipment and professional technicians.10 Immunological detection methods based on antibody technology are simple, fast, and widely used for the rapid detection of pathogens; however, these methods require immune animals and high cost.11 Therefore, new strategies are highly needed to increase detection efficiency and sensitivity to reduce detection time and cost. Colorimetric tests based on different mechanisms have been developed for the detection, classification and resistance analysis of various bacterial species.12–14 However, the inadequacy of routine phenotyping methods in detecting S. pneumoniae, particularly in clinics, highlights the importance of developing new strategies.
S. pneumoniae uses a number of virulence factors to successfully adhere to host cells, evade the immune system, and overcome the epithelial barrier. One of the S. pneumoniae virulence factors is hydrogen peroxide (H2O2), which is primarily produced by pneumococcal pyruvate oxidase (spxB) as a byproduct of acetyl-pyruvate production. The absence of the catalase enzyme, which breaks down H2O2, produced by the effect of spxB in S. pneumoniae leads to its accumulation. During pneumococcal infection, H2O2 has been shown to induce DNA damage and apoptosis in alveolar epithelial cells.15,16 Inspired by this information, we propose an anthocyanin-incorporated colorimetric diagnostic test by utilizing H2O2 as a main virulence factor of S. pneumoniae. The previous studies demonstrated how we colorimetrically detect organic acidic volatile compounds, which acidified the growth medium, released by bacteria with anthocyanin based tests.17–23 We used anthocyanins as natural pH indicators for colorimetric detection of target bacteria based upon pH changes in the microenvironment. The anthocyanin molecules appear pink, purple and blue/greenish/yellow in acidic, neutral and alkaline test media, respectively. Additionally, anthocyanin molecules can be degraded when exposed to high temperatures, H2O2, sulphites, enzymes and light.24–26
Here, we, for the first time, rapidly and colorimetrically detect S. pneumoniae by the naked eye and color image processing software through released H2O2 molecules. The H2O2 produced by S. pneumoniae causes the degradation of anthocyanin molecules in test media, which triggers the change of their initial colors to colorless or gray. This test demonstrates that the S. pneumoniae virulence factor H2O2 can be directly, quickly, accurately and economically detected. To semi-quantitatively support colorimetric test results, they were analyzed using color image processing techniques. We propose that this test is considered a significant step in the struggle against infectious diseases.
Microorganisms: S. pneumoniae ATCC 49619, Staphylococcus aureus (S. aureus) ATCC 29213, Enterococcus faecium (E. faecium) ATCC 8459, Enterococcus faecalis (E. faecalis) ATCC 29212, Klebsiella pneumoniae (K. pneumoniae) ATCC 700603, Escherichia coli (E. coli) ATCC 25922, Streptococcus agalactiae (S. agalactiae) ATCC 12401, and Streptococcus pyogenes (S. pyogenes) ATCC 19615 were obtained from Bandirma Onyedi Eylul University, Vocational School of Health Services, Pharmaceutical Microbiology Research Laboratory ATCC culture collection. All bacterial strains were stored in a skim milk medium at −20 °C and regenerated in triptic soy agar prior to the experiments. The optical density (OD600) of bacterial suspensions in saline and artificial cerebrospinal fluid (aCSF) was determined using a spectrophotometer (Azure Ao, Azure Biosystems, Inc.). To ensure quantitative accuracy, the inoculum density was verified spectrophotometrically rather than relying solely on visual estimation. For the primary inoculum (0.5 McFarland), an OD600 value of 0.089 was measured, corresponding to 1.35 × 108 CFU mL−1. The correlation was further verified at other turbidity levels; 0.2, 1.0, and 1.5 McFarland standards corresponding to calculated concentrations of 6.1 × 107 (OD600 = 0.089), 2.7 × 108 (OD600 = 0.18), and 4.5 × 108 (OD600 = 0.30) CFU mL−1, respectively. All bacterial cultivations and related assays involving S. pneumoniae were performed in a certified Biosafety Level 2 (BSL-2) laboratory. Standard microbiological practices and sterile protocols, such as the autoclaving of biohazardous waste, were strictly adhered to in order to ensure laboratory safety.
For 10X aCSF, 73.05 g NaCl, 1.86 g KCl, 1.44 g NaH2PO4, 22.52 g D-glucose, 2.94 g CaCl2, and 4.93 g MgSO4 were dissolved in 1 L of distilled water. Prior to use, to 100 ml of the stock solution, 800 ml of distilled water was added. Then, 2.18 g of NaHCO3 was added and dissolved, the volume was adjusted to 1 L and the pH was adjusted to 7.3 with 12 N HCl. The sterilization process was performed using a sterile filter.29 During the test procedure, 75 µL each of GM and anthocyanin solution (at pH 8 or 11) were added to the test wells, followed by 150 µL of bacterial suspension. This mixture constituted the test medium, containing 1X GM and a 5% anthocyanin solution. The test wells were incubated at 37 °C and the color change over time was recorded.
For the translation of this assay into a clinical diagnostic tool, the following standardized protocol is proposed based on our optimized experimental conditions. The colorimetric array consists of 75 µL of GM (to facilitate rapid bacterial metabolism and H2O2 release) and 75 µL of anthocyanin adjusted to pH 8, as this pH level provided the optimal reaction kinetics compared to pH 11. To this mixture, 150 µL of the aCSF was added. The test was incubated at 37 °C, and the diagnostic readout was obtained within 90 min via naked-eye observation or smartphone analysis. All chemical reagents, including H2O2 solutions and anthocyanin extracts, were handled in accordance with institutional safety guidelines. Appropriate personal protective equipment, such as gloves and safety goggles, was used throughout the experiments to prevent accidental exposure.
| ΔE = [(ΔL)2 + (Δa)2 + (Δb)2]1/2 | (1) |
Delta-E values are calculated based on the three fundamental differences defined in formula (1): ΔL, Δa and Δb. These three elements define the dimensions of the CIE Lab color space. Δa represents the difference between red and green, Δb represents the difference between yellow and blue, and ΔL represents the difference between black and white. These differences are low in similar images and high in different ones. This helps to demonstrate color change.32,33 Thanks to this analysis, the color difference in the test wells can be analyzed more accurately than by the human eye alone. The integration of digital image processing significantly reduces the dependency on specialized personnel. Unlike traditional culture methods that rely on the subjective visual assessment of the colony morphology by experienced microbiologists, this assay utilizes a computational algorithm to calculate the color difference (Delta-E). This objective readout minimizes personnel errors and standardizes the diagnostic decision, making the technology adaptable for future mobile-app integration and use by non-expert personnel.
The color of anthocyanin molecules can change based on the pH value (pH) of the reaction environment through the protonation and deprotonation of hydroxyl groups on the anthocyanin structure.17,18 In this work, H2O2 released from S. pneumoniae causes oxidative degradation of anthocyanins, and then the initial color of anthocyanins in the test solution turns gray and colorless based on the amount of H2O2 (Scheme 1).
![]() | ||
| Scheme 1 Schematic illustration of the rapid and colorimetric assay for the detection of S. pneumoniae based on H2O2 release and analysis using color image processing. | ||
The production of H2O2 does not drastically change the pH value of the reaction environment. The color change mechanism of anthocyanin molecules relies on their degradation instead of protonation or deprotonation. We showed how different concentrations of H2O2 influence the color of anthocyanin solutions, as given in Fig. S3. The anthocyanin solutions were prepared at pH 8 with blue color, then various concentrations of H2O2 (0.1 mM, 0.5 mM, 1 mM, 10 mM, 100 mM and 1000 mM) were added to each anthocyanin solution and the mixtures were incubated for 180 min (Fig. S3A). The anthocyanin solution without the addition of H2O2 exhibited great stability by maintaining its initial blue color. The addition of 0.1 mM H2O2 changed the color of the anthocyanin solution from blue to purple in 30 min of incubation. The color of the anthocyanin solution turned greenish in the presence of both 0.5 mM and 1 mM H2O2 in 30 min of incubation. The addition of 10 mM, 100 mM and 1000 mM H2O2 in anthocyanin solutions changed their color from blue to yellowish in 20 min, 5 min and initial incubation times, respectively. Quantitative analysis revealed an exponential correlation between the H2O2 concentration and the Delta-E values at 30 min (Fig. S3B), confirming that the sensing signal is directly driven by the stoichiometry of the peroxide-mediated degradation.
We demonstrate how H2O2 concentrations affect the pH of H2O2 itself and anthocyanin solutions prepared at pH 8 and pH 11, as presented in Fig. S4. For instance, the pH values of the H2O2 itself with a series of concentrations including 0.1 mM, 0.5 mM, 1 mM, 10 mM, 100 mM and 1000 mM were measured. At the lowest and highest H2O2 concentrations, the pH values of the H2O2 solution were determined to be 8.17–6.40. The decrease in pH at the highest H2O2 concentration can be attributed to autoprotolysis of H2O2 molecules. While the pH values of anthocyanin solutions prepared at pH 8 and pH 11 were found to be 7.10 and 7.65 at the lowest H2O2 concentration, the highest H2O2 concentration decreased their pH to 6.13 and 6.62, respectively. Although anthocyanin solution exhibits a purple color between pH 7 and pH 5, indicating that no color change is observed in this pH range, H2O2 at certain concentrations exhibits a change in the color of its solution from the initial color to gray color.
As we discussed above, S. pneumoniae is a catalase-negative bacterium, and H2O2 produced by S. pneumoniae can accumulate in the air sacs of the lungs owing to the absence of the catalase enzyme and cause DNA damage and apoptosis in alveolar epithelial cells. Although H2O2 production has an adverse effect on the human body, it is utilized as an indicator for colorimetric detection of S. pneumoniae using the test we developed in this study. We prepared a blue colored anthocyanin solution in saline at pH 8, then, the blue color of the solution disappeared in 10 min after the addition of 300 mM H2O2, which degraded the structure of anthocyanin (left one in Fig. 1). To show how the presence of the catalase affects the detection of H2O2, 1000 U mL−1 catalase was added to the anthocyanin solution mentioned above, and expectedly the blue color of the solution did not change owing to the breaking down of H2O2 to H2O by the catalase (middle one in Fig. 1). We already mentioned that anthocyanin solution is quite stable and maintains its initial blue color in the absence of H2O2, acid or basic molecules (right one in Fig. 1).
A possible oxidation mechanism of the flavylium ion by H2O2 is demonstrated in Fig. 2. Anthocyanins are known to exist as mixtures of A and B structures in chemical equilibrium in water due to the reversible hydration at position 2 of the middle ring.36 Treatment of the B structure with H2O2 generates a highly unstable hemiketal structure (C).36–38 Rearrangement of C gives a glucose ester (D). Hydrolysis of the compound D in water produces protocatechuic acid E and compound F.36–38
The blue colored test solution was prepared using 5% anthocyanin, growth medium at pH 8 and placed in the 1st column of the well. S. pneumoniae suspensions at different concentrations in a saline solution (0.2 McFarland, 0.5 McFarland 1.0 McFarland and 1.5 McFarland) were separately added to each 1st column and incubated for various periods of time (Fig. 3A). We demonstrated that the initial blue color of the test solutions in the 1st columns of the well-plates became gray in the presence of the S. pneumoniae suspensions. While the gray color of the test solutions containing 1.0 McFarland and 1.5 McFarland S. pneumoniae suspensions appeared first in 90 min, 0.2 McFarland and 0.5 McFarland S. pneumoniae suspensions gave a gray color at the end of the 210 min incubation time. We propose that obtaining a gray color in the short incubation time is proportional to high concentration of S. pneumoniae, which produces more H2O2. In terms of stability control, the 2nd column and 3rd column containing 5% anthocyanin + growth medium and 5% anthocyanin + saline solution, respectively, maintain their original blue color in the absence of S. pneumoniae (Fig. 3A). We believe that the test solutions used for the control experiment are quite stable owing to no changes in their original blue color. In order to quantitatively support colorimetric results observed by the naked eye, R/B and Delta-E analyses were performed. While the R/B values of the test solution in the 1st column showed a significant increase based on the concentration of S. pneumoniae suspensions and incubation time, no difference in R/B values for the 2nd column and 3rd column was observed regardless of the incubation time owing to the absence of S. pneumoniae (Fig. 3B). Expectedly, although the first color change seen by the naked eye was in the 1st column at 90 min of incubation in the presence of 1.0 McFarland and 1.5 McFarland S. pneumoniae suspensions, increases in the R/B values were recorded at 60 min of incubation with the same bacterial concentrations. In addition to this, the ΔE analysis for the two colors showed larger differences between each other, providing more accurate detection of S. pneumoniae (Fig. 3C).
In order to examine the effect of the initial color of the test solution on the detection of S. pneumoniae, we prepared a test solution with a green color at pH 11 by keeping all contents the same as given in Fig. 4A. The green color test solutions were placed in the 1st column of each well-plate, and then we observed the color change depending on the concentration of S. pneumoniae and incubation times (Fig. 4).
As is seen, the initial green color of the test solutions in the 1st columns of the well-plates turned gray in 150 min in the presence of 1.0 McFarland and 1.5 McFarland S. pneumoniae suspensions. However, low concentrations of S. pneumoniae suspensions (0.2 McFarland and 0.5 McFarland) changed the color of the test solutions to gray at incubation times of 210 min and 240 min. We claim that a high concentration of S. pneumoniae leads to an increase in H2O2 production, resulting in rapid anthocyanin degradation and eventual color change. The initial green color of the test solutions in the 2nd column and the 3rd column was constant during the incubation owing to the absence of the S. pneumoniae suspension, as presented in Fig. 4A.
The color changes witnessed by the naked eye were consistent with R/B and ΔE analysis. While an increase in R/B and difference in ΔE values were first obtained after 150 min of incubation time, the much clear and distinct differences between R/B and ΔE values were revealed after 210 min and 240 min of incubation, as given in Fig. 4B and C. We interpret that the blue color test solution gave a much rapid colorimetric response, as analyzed by both the naked eye and digital imaging process in the presence of the same concentration of S. pneumoniae suspensions, compared to the green color test solution owing to the initial color of the test solution (since green color is close to gray color) and degradation performance of anthocyanin molecules.
We further performed a comparative study to observe the colorimetric response of the test solution against several bacterial suspensions including S. pneumoniae (SP), S. aureus (SA), E. faecium (EFm), E. faecalis (EFs), K. pneumoniae (KP) and E. coli (EC). For instance, we prepared blue and green color tests in saline solutions, and they were separately placed in the first two rows (1st and 2nd) and the last two rows of the well-plate (3rd and 4th) as shown in Fig. 5A. The columns of the well-plate were labeled accordingly. Each column of the well-plate contains the same test solution content and different bacterial suspensions at different concentrations (1st column: SP, 2nd column: SA, 3rd column: EFm, 4th column: EFs, 5th column: KP, and 6th column: EC), and the 7th column contains only the test solution. As we expected, for the blue color test solution in the 1st column, the color rapidly changed to gray color compared to the green color test solution in the presence of SP. Both blue and green color test solutions in the 3rd, 4th, 5th and 6th columns changed to pink color solutions in the presence of EFm, EFs, KP and EC suspensions. These bacterial suspensions produce acidic organic volatile compounds as part of their growth process and make the micro-environment of each column acidic in which anthocyanin molecules are protonated, and then the color change occurs. Although the 2nd column includes SA, only the blue color test solution changed to a pink-purple like color solution in 210 min of incubation. We assume that SA bacterial cells were not efficiently grown, so no rapid and distinct color change was observed. The 7th column has only blue and green color test solutions without bacterial suspensions, and shows great stability of the test solutions by maintaining their initial colors. Fig. 5B and C show R/B values of each well, and the increase in each R/B value is related to the color change of the test solution, especially the blue color test solution. We systematically prepared blue and green test solutions in aCSF, and the experiments shown in Fig. 5 were performed as presented in the SI (Fig. S5). The detection performance for target bacteria was almost the same as that of the test solutions prepared in saline solution and CSF. However, the growth rate of SA in the 2nd column was much faster in CSF than in saline solution, which directly influences clear and rapid color change of the test solutions.
In terms of further experiments, we prepared the blue and green test solutions and used them for the detection of types of Streptococcus strains like S. pneumoniae (SP), S. agalactiae (SAg), and S. pyogenes (SPy). Fig. 6A shows that only SP suspensions in the 1st column changed the test solution colors to gray; however, the SAg and SPy suspensions in the 2nd and 3rd columns, respectively, caused a pink color owing to the production of acidic organic volatile compounds. We conclude that the anthocyanin solution gives a gray color through the degradation mechanism of anthocyanin only in the presence of SP suspensions. In contrast to that, the anthocyanin solution turned pink regardless of the initial color due to the pH-dependent protonation mechanism in the presence of SAg and SPy suspensions. The R/B values for the blue and green test solutions were calculated as shown in Fig. 6B and C, respectively. The increases in R/B values are well-consistent with the colorimetric results given in Fig. 6A. We show that the change of both test solutions to pink solutions caused by SAg and SPy suspensions led to a severe increase in the R/B values owing to the large difference in the averaged value between blue/green and pink channels. Exactly the same experiments shown in Fig. 6 were repeated as in Fig. S2 since the test solutions were prepared in CSF. The colorimetric responses and the results of digital imaging analysis shown in Fig. 6 were almost the same as those given in Fig. S6.
To evaluate the quantitative reliability of the colorimetric array, the Limit of Detection (LOD) and Limit of Quantitation (LOQ) were calculated based on the calibration curve derived from the 30 min detection data (pH 8), which were prioritized to demonstrate the method's rapid diagnostic capability. Using the standard deviation of the blank (σ = 0.006) and the slope (S = 9.00 × 10−11), the LOD and LOQ were determined as 2.00 × 108 CFU mL−1 and 6.67 × 108 CFU mL−1, respectively (R2 = 0.97), as detailed in Fig. S7 and Table S7 (SI). It is important to note that the sensitivity of this kinetic assay is time-dependent. As shown in Table S7, extending the incubation time to 90 min resulted in increased signal intensity, improving the theoretical LOD to 3.75 × 107 CFU mL−1. However, for rapid clinical screening, the 30 min protocol provides the optimal balance between speed and precision. Also, kinetic analysis of the colorimetric array response over time for different bacterial concentrations is shown in Fig. S8.
As shown in Table S8, conventional culture-based workflows generally require longer response times and expert interpretation, whereas molecular and immunological methods provide faster readouts but typically require specialized infrastructure.39–41 In this context, the proposed colorimetric array aims to offer a rapid, low-complexity alternative with an objective (optionally automated) readout.
To benchmark the proposed method against current technology, a detailed comparison with recently published optical biosensors (e.g., SERS, fluorescence, and nanozymes) is provided in Table S9. While nanomaterial-based strategies achieve LODs suitable for trace analysis, they typically necessitate complex chemical synthesis and expensive instrumentation (e.g., Raman spectrometers).42–46 Crucially, although ultra-low detection limits are essential for screening asymptomatic carriers, acute bacterial meningitis is characterized clinically by high bacterial loads (titres) in the CSF.47 Therefore, the sensitivity of the proposed colorimetric array is sufficient for its intended application of rapidly confirming active, high-burden infections. This approach deliberately prioritizes speed and accessibility over unnecessary ultra-sensitivity, addressing the urgent need for rapid diagnostics in resource-constrained acute care settings. Thus, our anthocyanin-based array prioritizes operational simplicity and cost-effectiveness, offering a rapid, instrument-free confirmation for acute infections without requiring proprietary substrates or specialized hardware.
| This journal is © The Royal Society of Chemistry 2026 |