OPN1LW is agene that encodes aprotein involved in the function of photoreceptor cells in the retina of the eye. Specifically, it is one of the opsin genes that codes for a type of photopigment known as "long-wavelength sensitive opsin" (also referred to as "red opsin").