Well, when I did my swap I followed frsports wiring guide
SR20DET Swap Engine Harness Wiring Diagram Guide SR SR20
Look at figure 5a, what I did was used my stock ka engine loom plugs, cut and soddered there so I can remove if necessary. The wire colors are listed right below the image with both sr and ka colors if you have an s13... Goodluck