To create a pie chart with custom colors in Python, you can use the matplotlib library. First, import the library and create a pie chart using the `pyplot.pie()` function. Then, use the `colors` parameter to specify the color palette. For example: `plt.pie(data, colors=['red', 'blue', 'green'])`. This will create a pie chart with the specified colors for each slice.