The effect of silica/gold nanoshells and titanium dioxide nanoparticles on the optical properties of skin is studied. By implementing in vivo measurements and Monte Carlo simulations, we analyze the efficiency of using these nanoparticles as contrasting agents for optical coherence tomography (OCT) imaging of skin. In vivo measurements are performed on pig skin, where nanoparticle suspension drops have been applied. The identification of skin layers is performed by comparison with corresponding histology images. Experimental results exhibit an increase in contrast of the obtained OCT images after a single nanoparticles application. Multiple applications do not lead to increase in the obtained contrast. To interpret the obtained experimental OCT images of skin and understand the mechanisms of contrasting, a set of Monte Carlo calculations is performed. The results of the simulations exhibit good qualitative agreement with the experimental images, and prove that the contrasting originates from the nanoparticles added, while the contrast of inclusion originates from the absence of nanoparticles within it and their presence in the surrounding area.