A ratio limit theorem for contraction projections and applications