Used to detect hydrochloric acid in stomach juice. Hydrochloric acid is present if bright red color develops when phloroglucin and vanillin are dissolved in alcohol, added to gastric juice, and heated. Brown-red color indicates absence of hydrochloric acid.