UtilHub

RGB to HEX Converter

Convert RGB values to HEX format instantly. HEX color codes are the most widely used format in web development — this tool converts your red, green, and blue channel values to a 6-character hex string ready for CSS or HTML.

name, hex, rgb, hsl, hwb, cmyk, ncol

FormatValue
Hex#ff7a59
Name
RGBrgb(255, 122, 89)
HSLhsl(12, 100%, 67%)
HWBhwb(12, 35%, 0%)
CMYKcmyk(0%, 52%, 65%, 0%)
NColR20, 35%, 0%
OKLCHoklch(72.9% 0.1696 35.11)

Lighter / Darker:

#ffebe5
#ffc6b8
#ffa18a
#ff7c5c
#ff582e
#ff3300
#d12a00
#a32100
#751700
#470e00
#1a0500

Pick a Color:

How to Use This Tool

Type your RGB color into the input field using the format rgb(r, g, b) — for example, rgb(255, 122, 89). The tool instantly converts it to a 6-character HEX code. Click the HEX value in the results table to copy it to your clipboard. The shade bar shows hex codes for lighter and darker variations, so you can quickly explore a full tonal range. HEX output always includes the leading # for direct use in CSS and HTML.