The reaction can be represented as follows:
FeCl3 + HCl → [FeCl4]- + H+
The red color of the solution is due to the absorption of light by the [FeCl4]- complex ion. This complex ion absorbs light in the blue-violet region of the spectrum, and reflects the red light, which gives the solution its red color.
The reaction between HCl and FeCl3 is a reversible reaction. This means that if the concentration of HCl is increased, the reaction will shift to the left, and the red color will disappear. Similarly, if the concentration of FeCl3 is increased, the reaction will shift to the right, and the red color will become more intense.