Preheat oven to 375°. Put pears in an ovenproof baking dish big enough to hold them in a single layer.
Whisk ancho chile and maple syrup together and drizzle over pears. Tuck in rosemary sprig.
Roast, uncovered, turning once, 20 to 25 minutes.
Remove from oven and sprinkle with salt and pepper.