I spray painted cabinet handles and pulls from kitchen of a previous S&B home. Prepped hardware well, used good paint and it held up well.
In that case, I did it because it I was unable to find nicer hardware that fit same holes, and I did not like the idea of patched up old holes in cabinets. Hopefully yours will be a standard size, so you will have the choice to paint or replace. Measure and go shopping. Maybe you will find some hardware you like for an nice price. Or maybe you will find a paint you want to try.