Do you HAVE to use the TL431?
A comparator with integrated reference would give you all freedom to define the behaviour.
Microchips MCP65R41 is even available with push-pull output, no inverter necessary.
I don't have to use 431, but it's cheap and a lot of low battery indicator examples use this.
For production reasons, I can choose LM393D and LM358D. In some previous projects I've used the 358 as a comparator, and was told by peers using an opamp as a comparator sometimes has benefits in some areas compared to dedicated comparators.
If I do chose to replace the 431, should I go for a comparator or the opamp?
What about current consumption, TL431, LM393D and LM358D?