A good approximation would be that men should only have sex with women older than half their age + 7 or women can only have sex with men younger than double their age -14.
Ma = Man's age
Wa = Woman's age
Wa>Ma/2+7
Ma<2Wa-14
Couples outside this range are allowed to have loving relationships, but not allowed to exchange bodily fluids or see each other naked.