Marker color + text annotation color; is there a good way to coordinate these colors automatically?

I would like for each text annotations in a plot to be set to the same color that is automatically given to the associated trace.

As far as I can tell the only way to set text annotation color is to set the textfont parameter to textfont={‘color’:‘whatever’}

Is there at least a way to determine which color was chosen for a trace so I can write my own code to used that determination to manually set the text color in textfont?