Can anyone identify this going-to-seed plant? (Photo taken August 2025 in Dublin, Ireland.)

Photo of the flower in context, at the edge of a mini meadow, among some tall grasses and next to a large mint plant which is in bloom.

Photo shows a close-up of a garden plant, with a red-ish stem about 1-2 metres tall, a wizened pink flower at the top, and (I think) seed pods with a pinkish hue at various points down the stem.