But actually “Despacito” is arguably in the key of B minor. This is the chord it begins and ends with, and has the most traction (the word “despacito” itself is sung over a B minor chord). If you've studied music you'll know that B minor is closely related to D major, so this won't come as much of a surprise.