font-size: 1.0000rem; /* 16px */
Tailwind Class: text-base
| PX | REM | EM | PT | Tailwind Class |
|---|---|---|---|---|
| 8 | 0.5000 | 0.5000 | 6.00 | — |
| 10 | 0.6250 | 0.6250 | 7.50 | text-xs |
| 12 | 0.7500 | 0.7500 | 9.00 | text-xs |
| 14 | 0.8750 | 0.8750 | 10.50 | text-sm |
| 16 | 1.0000 | 1.0000 | 12.00 | text-base |
| 18 | 1.1250 | 1.1250 | 13.50 | text-lg |
| 20 | 1.2500 | 1.2500 | 15.00 | text-xl |
| 24 | 1.5000 | 1.5000 | 18.00 | text-2xl |
| 28 | 1.7500 | 1.7500 | 21.00 | text-3xl |
| 32 | 2.0000 | 2.0000 | 24.00 | text-3xl |
| 36 | 2.2500 | 2.2500 | 27.00 | text-4xl |
| 40 | 2.5000 | 2.5000 | 30.00 | — |
| 48 | 3.0000 | 3.0000 | 36.00 | text-5xl |
| 56 | 3.5000 | 3.5000 | 42.00 | — |
| 64 | 4.0000 | 4.0000 | 48.00 | — |
| 72 | 4.5000 | 4.5000 | 54.00 | — |
| 80 | 5.0000 | 5.0000 | 60.00 | — |
| 96 | 6.0000 | 6.0000 | 72.00 | — |
This tool is part of these guided projects. Each project provides step-by-step instructions with checklists and all the tools you need in one place.
Tools you might need next
Convert pixels to rem. Custom base font size. For responsive typography. Free design tool with instant browser-based results — no account, works on desktop
Convert between px, pt, em, rem, %, vw. All font size units. For typography. Free design tool with instant browser-based results — no account, works on
Calculate line-height from font size and multiplier. For typography and readability. Free design tool with instant browser-based results — no account, works
The EM to PX Converter converts between RGB, HSL, HSV, and hex using standard linear transforms. Gamma-correct sRGB values are assumed unless otherwise noted.
HSL ↔ RGB via standard cylindrical transformContrast ratios are computed per WCAG 2.1 relative luminance formula. Results indicate AA and AAA compliance for normal and large text.
Contrast = (L1 + 0.05) / (L2 + 0.05)Generated values are emitted in copy-ready formats (hex, CSS, Tailwind, SVG). Precision is tuned for design tools without unnecessary floating-point noise.
Updated: July 2026
A UI designer uses the EM to PX Converter to explore complementary colors and verify WCAG contrast before handing specs to developers.
A front-end developer checks spacing, ratio, or typography values with the EM to PX Converter while implementing a Figma mockup in CSS.
A freelancer generates live examples with the EM to PX Converter during a client call to agree on visual direction without switching tools.
Use our free EM to PX Converter for fast, accurate results in your browser. No signup or installation required — works on any device.