Phenolphthalein is a chemical compound with the formula C₂₀H₁₄O₄ and is often written as "HIn" or "phph" in shorthand notation. Phenolphthalein is often used as an indicator in acid-base titrations. For this application, it turns colorless in acidic solutions and red in basic solutions