Washington (CNN) CNN Chief Legal Analyst Jeffrey Toobin on Friday criticized President Donald Trump for his recent attacks on reporters -- particularly African-American female reporters -- which he said have a "racial dimension" to them.

"There is a racial dimension to this," Toobin told CNN's Wolf Blitzer on "The Situation Room." "The fact that the President is always -- the idea that this was some random selection of journalists he doesn't like is not the case."

"It's always black people with this President."

Toobin's comments come after a tense week between Trump and the press, during which Trump used harsh language against CNN reporter Abby Phillip, CNN contributor April Ryan and PBS reporter Yamiche Alcindor, all of whom are African-American.

JUST WATCHED Wolf: Disgusting how Trump treats journalists Replay More Videos ... MUST WATCH Wolf: Disgusting how Trump treats journalists 03:17

Speaking to reporters Friday, Trump called Ryan a "loser" and harshly criticized Phillip for asking a "lot of stupid questions." Phillip had inquired whether Trump wanted acting Attorney General Matthew Whitaker to "rein in" special counsel Robert Mueller -- a matter of heavy speculation given Trump's objections to the Russia investigation and Whitaker's past criticism of it.

Read More