I may have found a mistake in the exportToPDF documentation for a Layout. The documentation on this page:
Layout—ArcGIS Pro | Documentation
includes 'embed_color_profile' but I get en error in Python that I have too many arguments when I include a value for that.
The exportToPDF function in Map Series both includes that argument and it works.