I don't have any expertise on the topic, but my take from across the Atlantic is that it would depend on the circumstances. The U.K. law on hate speech specifies the words must be intended to provoke violence, not merely that there's a possibility they could. To use a classic example, shouting "Fire!" in a crowded theater could result in criminal charges, but writing "Fire!" in an X or Facebook post wouldn't. It's not the words themselves that violate the law, but their intended effect.
However, since the example you gave doesn't include any incitement to action, it would most likely be OK as an expression of opinion on the Internet. If you spoke the words in London, it could depend on the circumstances and to whom you were speaking. If someone reported your speech, the police, prosecutor or judge/jury would have to decide on your intent.