A triphenylamine-based benzoxazole derivative as a high-contrast piezofluorochromic material induced by protonation.