REM to PX Converter

Convert rem to pixels with a custom root font size (16px default). Instant CSS unit conversion.

—

How the nearest RAL match is calculated

Your colour is compared against all 217 RAL Classic colours and the closest one is returned, using a weighted RGB distance (the "redmean" approximation) which weights the channels closer to how the eye perceives them than a plain Euclidean distance would. Everything runs in your browser.

Important: RAL colours are not RGB values

RAL Classic colours are defined by physical paint samples, not by screen values. The hex values used here are the widely used screen approximations from Wikipedia's List of RAL colours, and the same RAL code can look noticeably different when printed on different substrates. Use this converter for on-screen reference only — for paint mixing, printing or production work, always confirm against a physical RAL fan deck.

See the full RAL Classic chart (all 217 colours) →

How it works

px = rem × root font size — default root is 16px, so 1rem = 16px

Examples

InputOutput
1 rem16 px
1.5 rem24 px
0.875 rem14 px

Frequently Asked Questions

How many px is 1rem?

With the default 16px root font size, 1rem equals 16px. Change the root field above if your site uses a different base.

Is the root font size always 16px?

No — it is the browser default, but sites often override it (e.g. 62.5% = 10px, or 18px for readability). Check your CSS.

Does rem change with the user's browser settings?

Yes — if the user changes their default font size, the rem value scales with it. That is why rem is preferred for accessible layouts.

Related Tools

PX to REM ConverterPX to PT ConverterPT to PX ConverterPX to EM ConverterEM to PX Converter