There's little question that, whatever else the Cuban Revolution has done or not done, it triumphed with a strong and progressive platform on race. At every single official level, it explicitly and forcibly banned racial discrimination. In fact, it may have done so too forcefully. Because Cuba is a top-down society -- especially under Fidel Castro -- the new anti-racism codes rained down without explanation and, more importantly, without process. People understood that racism was no longer tolerated but not how they participated in racist structures, how they were affected by the legacy of racism and, least of all, how light-skinned Cubans -- especially on the island -- benefited from those legacies.
Article on the existence of modern racism in Cuba