Why would it be a sin?
I enjoy many horror books, and horror movies myself, and they are not sins.
It all depends on your intention though.
If you are writing with the intent of describing some gory murder scene to satisfy a sadistic desire within you, then yes- it's a sin.
If you're writing...