“In the English language, the word nigger is an ethnic slur used against black people, especially African Americans. Because it is considered extremely offensive, even if only mentioned and not used as a slur, it is often referred to by the euphemism "the N-word". It also may be used with a more neutral meaning among African Americans, primarily as nigga”. Wikipedia.
It is extremely offensive, contemptuous and insulting kapag nanggaling sa mga white people pero sa kapwa nila black and if it is said in more neutral sense medyo okay lang.