Melanin is a dark brown pigment. It's the same pigment that colours your skin.
Eye-colour genes code for proteins that determine the amount of melanin deposited in the iris.
If you have a lot of melanin in your irises, your eyes will appear brown or black. If you have very little, your eyes will appear blue. Intermediate amounts of melanin produces grey, green, hazel or varying shades of brown eye color.
Newborn babies all have blue eyes, because at the time of birth they haven't begun to produce melanin in their irises.
People that have albinism have no pigment in their irises. So the blood vessels in the back of their eyes reflect light making them look pink.
The pupil is the dark round opening in the middle of the colored iris. It controls how much light enters the eye. The iris opens and closes to control the amount of light that enters the pupil.