Code Amit Bera, helped me down the resolution that solved my problem
$cor = addslashes($_GET['cor']);
$cor_selecionada = addslashes($_GET['cor_selecionada']);
$configProd = Mage::getModel('catalog/product')->load($id_produto);
$AllowAttributes=$configProd->getTypeInstance(true)->getConfigurableAttributes($configProd);
$optionPrices = array();
foreach ($AllowAttributes as $attribute) {
$productAttribute = $attribute->getProductAttribute();
if($productAttribute->getId() == $cor){
$prices = $attribute->getPrices();
if (is_array($prices)) {
foreach ($prices as $value) {
if($value['value_index'] == $cor_selecionada){
echo $value['pricing_value'];
}
}
}
}
}