If you were to be OK, you would not see a penalty.
You must turn 50 in the year for which the contribution is made.
@secrosley