The element cobalt can form compounds in two different oxidation states, +2 and +3.
The +2 state is more common.
The ion Co2+ (aq) is pink.
Other compounds of cobalt(II), which include both anhydrous Co2+ and complex ions, are commonly blue.
If an aqueous solution contains both cobalt(II) and chloride ions, the blue ion CoCl42- forms, in equilibrium with the pink Co2+ (aq) ion.
CoCl42- (aq) <===========> Co2+ (aq) + 4Cl1-(aq)