Now, there are calculators to help determine whether a pair of colours contrast each other effectively. Here is one that kind of works:
http://www.colorsontheweb.com/colorcontrast.asp