The contribution amounts occur after all pre-tax contributions (Section 125, etc.) and taxes are withheld. The net pay is then further reduced by the Roth 401k election amount (either a flat dollar amount or percentage).