RGB contrast check