Dick Gregory, a comedian who lambasted racism and played a prominent role in the 1960s civil rights movement after becoming one of the first black comics to perform for white audiences, died on Saturday at age 84, his son said.