The present study reports the development and application of a rapid, low-cost in-situ method for the quantification of tartrazine in carbonated beverages using a smartphone-based colorimetric device with molecularly imprinted polymer (MIP). The MIP was synthesized using the free radical precipitation method with acrylamide (AC) as the functional monomer, N,N′-methylenebisacrylamide (NMBA) as the cross linker, and potassium persulfate (KPS) as radical initiator. The smartphone (RadesPhone)-operated rapid analysis device proposed in this study has dimensions of 10 × 10 × 15 cm and is illuminated internally by light emitting diode (LED) lights with intensity of 170 lux. The analytical methodology involved the use of a smartphone camera to capture images of MIP at various tartrazine concentrations, and the subsequent application of the Image-J software to calculate the red, green, blue (RGB) color values and hue, saturation, value (HSV) values from these images. A multivariate calibration analysis of tartrazine in the range of 0 to 30 mg/L was performed, and the optimum working range was determined to be 0 to 20 mg/L using five principal components and a limit of detection (LOD) of 1.2 mg/L was obtained. Repeatability analysis of tartrazine solutions with concentrations of 4, 8, and 15 mg/L (n = 10) showed a coefficient of variation (% RSD) of less than 6%. The proposed technique was applied to the analysis of five Peruvian soda drinks and the results were compared with the UHPLC reference method. The proposed technique showed a relative error between 6% and 16% and % RSD lower than 6.3%. The results of this study demonstrate that the smartphone-based device is a suitable analytical tool that offers an on-site, cost-effective, and rapid alternative for the quantification of tartrazine in soda drinks. This color analysis device can be used in other molecularly imprinted polymer systems and offers a wide range of possibilities for the detection and quantification of compounds in various industrial and environmental matrices that generate a color change in the MIP matrix.