Color shifts in Quicktime when playing h264 encoded movie from After Effects
Exporting to H264 will always introduce a slight colour shift due to a gamma tag in the file header. At least, I didn't find any solution to export without a gamma shift. Neither in AE nor in any other video editing program. 

Maybe also have a look at this answer: https://video.stackexchange.com/a/10336/11423