Under California law, all parties to a confidential conversation must consent to the recording. This means that you cannot record a private conversation with your employer or anyone associated with your workplace without their consent, even if they are acting in a racially discriminatory way. There is, however, an exception if the parties can reasonably expect the conversation to be overheard or recorded. Speaking with an attorney can help guide your actions and prevent any illegal activity.