Colocation space is the real-estate or the space in the data center that has been allotted to you to setup your server.
Rack, on the other hand, is the vertical frames where you can start setting up your physical servers. Racks act as the storage frames where servers are stacked one over the other.