RGBA to HEX Converter
Convert RGBA colors — including the alpha/opacity channel — to HEX format instantly. Output as a standard 6-digit HEX or an 8-digit HEX code with embedded transparency, ready for CSS, Figma, and any modern design tool.
name, hex, rgb, hsl, oklch, hwb, cmyk, ncol
| Format | Value | |
|---|---|---|
| Hex | #ff7a59ff | |
| Name | — | |
| RGB | rgba(255, 122, 89, 1) | |
| HSL | hsla(12, 100%, 67%, 1) | |
| OKLCH | oklch(72.9% 0.1696 35.11 / 1) | |
| HWB | hwb(12, 35%, 0%) | |
| CMYK | cmyk(0%, 52%, 65%, 0%) | |
| NCol | R20, 35%, 0% |
Opacity:
100%Lighter / Darker:
Contrast Checker
WCAG contrast ratios for this color as text on white and black — and for white and black text on this color as background.
Related Color Converters
How to Use This Tool
Enter your color as rgba(r, g, b, a) — for example, rgba(255, 122, 89, 1). The alpha value ranges from 0 (fully transparent) to 1 (fully opaque). Enable the Alpha toggle above the results table to include transparency in the output, which produces an 8-digit HEX code like #ff7a59ff. Without alpha, you get a standard 6-digit HEX. Click any value to copy it to your clipboard. The shade bar shows HEX tints and shades of your color.