According to the United Kingdom’s Highway Code, any animals being herded at night, such as sheep, must have a white light in the front of the herd and a red light in the back of the herd.
Source: https://www.gov.uk/guidance/the-highway-code/rules-about-animals-47-to-58