This issue is most easily visible in the tooltip of TRs, as they do not match the color of the ring in the center of the TR, but rather match that of the other type.
To reproduce:
- Give yourself a Fairy-Type TR and a Psychic-Type TR
- Hold shift, and look at the color of their "Type" Text.
- See that it doesnt match the color of the TR, which is the correct matching color of the type symbol
Left TR is Fairy Type, Right is Psychic Type:



Secondary example, where I stumbled upon this while trying to retrieve the internal color codes via API for use elsewhere, but displaying the type icon next to text using the current color codes makes it extremely apparent that these are reversed:

