In lightroom, when you choose to export, you can choose the color space (it's somewhere near the width height all those).

maybe this help?