You can create custom spot channel in photoshop. Some of the pro rips supports it. Check yourth.
Detail steps:
1. Make selection around colored part of image. Then decrease selection in 2px. Create spot channel with that. (It's custom choke, not rip-based).
2. Make selection with ONLY white parts of image. Select spot channel and then fill it with black.
3. Export file must support spot channels - TIFF, PDF, PSD
https://youtu.be/tw6upSVbi7c