It was nasty but I think the decision falls on whether or not there was malicious intent to hurt Ramirez. You can only go on the images or whatever lies in the referees report. If the challenge was deemed just a 'bad challenge' with no intent, then its a yellow.
It will be interesting to see if...