In this study, pH-sensitive textile systems are developed for use in detecting alkaline media variations. The product is designed based on the surface functionalization of cotton fabric by semi-porous microcapsules containing curcumin. The capsules synthesized by interfacial polymerization from MDI and xylitol serve as micro-reactors where a modification of the chemical form of curcumin takes place, allowing observation of a change of color. This change of color is linked to the acidity constant of this molecule. The objective is also to correlate the visual observation to an evaluation of the color code via image capture by a smartphone of the textile structure and simplified processing of the image color. The analyses have shown that the product obtained is well-sensitive to pH variations and easy to use.