Ray was born January 13, 1850 in New York City. Her father was a notable religious figure and abolitionist. After attending the Institution of the Education of Colored Youth, she became a teacher at a preparatory school connected to Howard University. While working there, she enrolled in the university’s law program under the name C.E. Ray – which some historians believe was a bid to hide her gender although the school reportedly had no such restrictions at the time.