Optimizing the structure and tuning the optical properties in low-dimensional organic-inorganic halide perovskites are crucial to practical applications for stable solid-state lighting. Herein, we performed high-pressure investigations on one-dimensional (1D) postperovskite (TDMP)PbBr4 (TDMP = trans-2,5-dimethylpiperaziniium), and structure and optical properties under pressure are studied. (TDMP)PbBr4 exhibits color tunable emission from cool white light to yellow orange as the pressure increases from atmospheric pressure to 20.0 GPa. It was found that high pressure would facilitate trapping the free exciton (free exciton) to form a self-trapped exciton (STE) state due to increased electron-phonon interaction, thus enhancing STE emission in the pressure range of 4.0-7.0 GPa. At above 7.0 GPa, the STE emission is quenched, which is due to the phonon-assisted nonradiative relaxation. Meanwhile, (TDMP)PbBr4 displays reversible piezochromism from colorless to yellow under pressure as a result of the compound undergoing a reversible structural transformation. This work provides an insightful perspective on revealing the relationship between structure and optical properties of 1D postperovskites under high pressure.