In the amended rape law the age of statutory rape has been increased to 18 years, earlier it was 16 years. The punishment is given in section 376 of IPC. If the victim is less than 16 years then the punishment is harsher compared to victim above 16 but below 18 years.
IPC 375: Section 375 of the Indian Penal Code
A man is said to commit “rape” if he—
penetrates his penis, to any extent, into the vagina, mouth, urethra or anus of a woman or makes her to do so with him or any other person; or
inserts, to any extent, any object or a part of the body, not being the penis, into the vagina, the urethra or anus of a woman or makes her to do so with him or any other person; or
manipulates any part of the body of a woman so as to cause penetration into the vagina, urethra, anus or any part of body of such woman or makes her to do so with him or any other person; or
applies his mouth to the vagina, anus, urethra of a woman or makes her to do so with him or any other person, under the circumstances falling under any of the following seven descriptions:
Against her will.
Without her consent.
With her consent, when her consent has been obtained by putting her or any person in whom she is interested, in fear of death or of hurt.
With her consent, when the man knows that he is not her husband and that her consent is given because she believes that he is another man to whom she is or believes herself to be lawfully married.
With her consent when, at the time of giving such consent, by reason of unsoundness of mind or intoxication or the administration by him personally or through another of any stupefying or unwholesome Substance, she is unable to understand the nature and consequences of that to which she gives consent.
With or without her consent, when she is under eighteen years of age.
When she is unable to communicate consent.