Human rights are moral principles that most States abide by. There are many human rights treaties between various states. These treaties set forth how each state is to treat their population, minorities, and other groups within and outside of their state lines. So, in a sense, human rights are often part of international law. However, those two things are certainly not the same thing. I hope that helps clear things up a little!
Human rights definition at https://www.un.org/en/sections/issues-depth/human-rights/
Those rights can be protected via legal instruments at a local level, e.g the law of country .... protecting minors, Law against discrimination, etc.
Or on international basis through treaties,( international law) and within international law you will find an specific international humanitarian law field that includes all those laws and treaties dedicated to address the protection of human rights.
So they are different in the strict sense of the word, but not that far away as rights are protected under the law. Check those links for additional information. I hope it helps ;)