Figma and Sketch are not able to use / display relative and elastic units
Rule of thumb: Dont take the values presented in Figma / Sketch 1:1
Talk to your UX/UI guy or check out the styleguide
Funfacts
Windows 95 and all other old Operating Systems from the Era tried to tackle the issue about font sizes and accessbility as well. An example can be found on this document on page 14.