The subsurface shear stress is shown for the contact with the highest surface pressure. The required hardness depth is shown in the diagram dependent on the fatigue strength of inner and outer race.
The red curve is for the shear stress of the inner race, the blue curve for the outer race.