The hottest planet in our solar system is Venus, When it comes to temperature, distance from the Sun matters, but it takes a backseat to wrapping a planet in a atmospheric blanket of carbon dioxide.
Want to know our solar system in detail i.e. the list of planets, their role in the solar system, their size and properties etc.