Traditionally, pinto beans make the best refried beans because of their buttery texture but if you don't have pinto beans you can substitute black beans. They don't blend quite as easily, though, so they might be a bit more chunky.