OmniTools Color Hex Color Codes is a comprehensive color studio for web designers, frontend developers, and digital artists. Easily inspect hex color codes, adjust RGB and HSL sliders, convert between digital color models, generate harmonious color palettes (Complementary, Triadic, Analogous), and check WCAG 2.1 accessibility contrast.
⚡ Loading interactive calculator and shortcuts...
A hexadecimal color code is a six-digit code preceded by a hash symbol (#) representing the red, green, and blue components of a color from 00 to FF (e.g., #FFFFFF for white, #000000 for black).
HEX and RGB express the exact same color values: RGB uses decimal numbers from 0 to 255 (e.g., rgb(255, 0, 0)), while HEX encodes those same numbers in base-16 hexadecimal (#FF0000).
Our live WCAG test displays the exact contrast ratio. Web Content Accessibility Guidelines (WCAG 2.1) require at least 4.5:1 for normal body text and 3:1 for large text (AA compliance).
Yes! Every color includes one-click copy buttons for arbitrary Tailwind classes like bg-[#4f46e5] as well as standard CSS properties.