Ramirez went to a hospital for precautionary X-rays, which were negative.
"It's scary, it's so easy to break a bone," Dodgers manager Joe Torre said after the Dodgers' 12-3 win. "We're very fortunate it was only a bruise. You don't even want to think about doing without him again."
Ramirez made a running catch to end the second and his triple in the first scored two runs to give the Dodgers a 2-0 lead.
Nobody was more relieved than Bailey to hear that Ramirez's hand wasn't broken.
"I'm glad that's not the case or there would have been a lot of Los Angeles fans mad at me," he said. "I was trying to get the pitch about stomach-high and in on him. You don't want to miss over the plate because he's liable to hit it 800 feet. The pitch just got away from me. I've never intentionally tried to hurt anybody, so I'm sure he understands."
It's the second time this season that Ramirez has been hit by a pitch. The first came May 4 against Arizona. He homered in the first inning and was hit three plate appearances later, but stayed in the game.