Black absorb more radiation. The reflexion on sunlight is smaller comparing to a murble beach (white), for example, so it will be hot.
Black sand has a maximal absorption of sunlight and minimal reflection.
Withe sand has the opposite, so it will be cooler than black sand.