Combine the minced onion, peppercorns and rosemary in a spice grinder and pulse until a fine powder. Transfer to a bowl and mix in the salt, sugar and paprika.
If not using immediately, store in an airtight container in a cool, dark place. Will keep up to 30 days.
Recipe courtesy of Vincent Camillo for Cooking Channel