I think "don't be an asshole" is a pretty good rule of thumb.
I don’t doubt that there are heaps of virtue signalers who’ll pretend to be utterly shocked though, fuck those people.
It’s okay to joke about death, even if the world is full of people who have had traumatic experiences with death. It’s okay to joke about traumatic experiences, that’s just a perfectly normal coping mechanism. (Although I have a hard time reading “ear rape” as a joke about rape)
Is there a reason why you think that women would be especially susceptible to this besides some bizarre sexist fantasies of yours?
What you’re suggesting here is far more offensive than any rape jokes could ever be.