Yes, "kaffir" is a severe racial slur against Black people, especially in South Africa (often called the K-word). It ranks among the most offensive terms there, tied to apartheid-era racism, and its use can lead to legal action for hate speech. It derives from the Arabic "kāfir"