Dye material from lichens, used in acidity tests (6)
I believe the answer is:
litmus
(Other definitions for litmus that I've seen before include "Substance used to distinguish between acid and alkali" , "A dye used as a rough indicator of acid" , "dye encountered in testing" , "Substance used in test for acidity" , "Substance turned red by acids" .)