You have not mentioned what went wrong. However, if you have decided to get out of the relationship, you cannot do it without hurting her. Discuss honestly with her about your decision and try to justify your points. If she will convinced with your honesty and your reasons sounds genuine to her then she will have some consolation.