And you IMO seriously underrate the Paladins. Rangers are Combat/Exploration, and Paladins are Combat/Social. The Paladin's charisma to saves is very powerful, especially if they take a single level dip in hexblade
Yeah but I think Rangers have more when you consider the good subclasses. Paladins are better than the weak Rangers but I don't think they are as good as Gloomstalker, Fey Wanderer or Swarmkeeper using Tasha's Ranger abilities. I think those 3 stack up well to a Paladin in combat while being overall better out of combat. Fey Wanderer is even better at the social pillar and charisma checks.
A Gloomstalker is invisible to most enemies in normal darkness starting at level 3, he gets wisdom save proficiency and not only does he get a buffed up extra third ayyack in the first round, he also gets a 3rd attack every round (or a 4th attack in the first) if he attacks and actually misses the target. And with Rope Trick he can pretty much Short Rest until he runs out of 2nd level spells.
A Fey Wanderer does extra psychic damage every turn, and he can spam summon Fey without concentration. Each Fey gets the equivalent of a Charm Monster spell in addition to attacking every turn. In 4 turns the Ranger can be putting down 6 attacks and 4 charms every single round and then when someone saves on a charm he beguiling twists it into frightened for a minute! No other character in the game can put this much control on the battlefield without using concentration. This is more control than any other "martial" can manage at all and is comparable what an equal level wizard can do because it is all without concentration and enemy saves do not automatically cancel it, they just move it to a different enemy. If you get a 14 Charisma, he does that while having better social skills that a Paladin or Warlock or anything short of a Bard with expertise, and he will even beat that Bard on a charisma skill if he uses his expertise on it. If we are going to talk Warlock multiclasses, I think a Fey Wanderer with a 1-level Undead Warlock dip is the most broken multiclass in the game (not counting cofeelocks)
A Swarmkeeper can use his swarm for all sorts of things, including extra damage, moving him, knocking an enemy prone or giving himself half cover. All those things without any action cost at all. The last one in particular can be used essentially as a permanent +2 to AC as long as you hit someone or something in combat. You can also use a bonus action to fly (albeit slowly).
Those things are just from the subclasses, on top of all that, these guys get extra damage from favored foe without spending a slot, they can turn themselves invisible with a bonus action (invisibility which is not broken by attacking), they are not affected by difficult terrain, have a climb and swim speed equal to their normal speed and can erase exhaustion with a short rest and can give themselves temp hit points without a spell multiple times a day. With Magic Stone and Shilaleagh they can also go Wisdom for attacks without having to multiclass like a Paladin needs to.