As pH is a widely used index in chemical, medical, and environmental applications, research on pH sensors has been active in recent years. This study obtained RGB values by measuring the reflected light from a liquid sample to detect fine changes in pH, and performed mathematical modeling to investigate the relationship between the detected optical signal and pH value. Also, the trends in pH changes were easily identified by analyzing RGB values and displaying them in the color coordinate for easy visualization of data. This method implemented a user-friendly system that can measure and analyze in real time. This system can be used in many fields such as genetic engineering, environmental engineering, and clinical engineering, because it not only can measure pH but also replaces a colorimeter or turbidimeter.