Animation nodes - Vertex colors to transforms?
You can retrieve the color using the following code:

object.data.vertex_colors[layerName].data[0].color


Where object is your object and layerName is your vertex color name.