Straight guys: how much do you have to dislike a woman for sex to be off the table?

I think the hotness would have to increase sharply the more I disliked her. I don’t think I could muster anything if I completely despised her, even if she looked like Helen of Troy.