The type or deadlift you use also plays a role.
Conventional powerlifting deadlift (high hips start) works mostly back and posterior chain
Sumo deadlift works the quads a bit more (the hips are lower in the start position) and bit less the lower back (because you torso angle is more upright)
Clean deadlift (the lowest hip position while still having shoulders slightly in front of the bar) involves the quads more than conventional deadlift (again because the knees are bent more in the starting position)
Snatch deadlift involves the quads even more because your hips are even lower than in the clean deadlift because of the wider grip. The wider grip also make the upper back work harder
Romanian deadlift hits the lower back, hamstrings and glutes more
The Dorian deadlift (https://www.t-nation.com/training/tip-master-the-dorian-deadlift ) involves the upper back a bit more while still hitting the lower back and hamstrings