Yes, if you are making a detour to Kenya from Tanzania, you will need a visa to enter Kenya. European citizens need a visa to enter Kenya, whether for tourism or any other type of stay.