6 year difference

Is a 6 year age difference frowned upon by the public? Like say if I'm 18, 19 in January and my partner is 24, 25 in December and we're expecting a baby. Would it be frowned upon?