In this article, the paints on the surface of the glazed ceramic objects of the Karakhanid era, found in the ancient Afrosiyab monument located in Samarkand, belonging to the Karakhanid period, with various colors and colorful patterns, were analyzed using VANTA Element-S portable X ray fluorescence (p-XRF ) chemical composition was studied qualitatively and quantitatively using the apparatus. According to him, the amount of Pb and Si is high in the glazed part of the surface of the ceramics. Other chemical elements (in different colors) such as Cu, Fe, Mn, Al, Mg, Ca, Si are found in large quantities in the parts that have not been glazed or have been glazed. A reliable statistical analysis based on 11 key elements is used. Chemical characterization and statistical evaluation of the data were combined with petrographic analysis.