A structurally simple low molecular weight hydrogelator derived from isophthalic acid forms robust pH-responsive hydrogels capable of highly efficient and selective dye adsorption.