CSS Issues when exported to code from Figma


This is my figma design for a button

and this is the button that I got when I converted the design into code

There is slight variation n the output like the background color etc, why that is happening. I use react,tailwind, typescript