Red and yellow pigments are the major ingredients of safflower, often used to color food and cosmetics. Carthamin was the main component of red pigment and hydroxysafflor yellow A and anhydrosafflower yellow B were representative components of yellow pigment. Plant metabolomics and semi‐quantitative analysis were used to analyze the changes of pigment composition during the blooming period, especially these characteristic components. Carthamin, hydroxysafflor yellow A, anhydrosafflower yellow B, and other components were screened out as differential metabolites based on plant metabolomics. Then semi‐quantitative analysis was used to quantify these three representative components of pigments. Experimental results showed that the content of pigments has dynamic changes along with flowering, in the early blooming period, yellow pigment accumulated much and red pigment was low in content. In the middle period, the accumulation rate of the yellow pigment slowed down and content was stabilized. In the next step, the content of yellow pigments gradually decreased, and the content of red pigments gradually increased. Later, the level of yellow pigment decreased significantly, and the accumulation rate of red pigment increased significantly. Last, the appearance color of safflower was red, with yellow parts barely visible, and accumulation of red pigment was the highest and of the yellow pigment was the lowest in content.