How to clean gunk off piston head?

Took my compressor high side off to put in new o rings. It was cover in black gunk. I try scrubbing it with a wet towel. I got most off but there are some that just won't come off. What can I use to clean it? Can I use something like break cleaner or wd40? 

20220315_140933.1647371595.jpg