HEX to RGB Converter
Professional color conversion tool with real-time preview, WCAG accessibility testing, and advanced features. Convert HEX to RGB, generate color palettes, create gradients, and export in multiple formats.
FORMATS
Interior Design
Color Mixing
Start with ultramarine blue. Add tiny red for purple-blue, white for lighter shades.
Tints (Lighter)
Shades (Darker)
COMPLEMENTARY
TRIADIC
SPLIT COMPLEMENTARY
ANALOGOUS
:root {
--primary: #3b82f6;
--primary-rgb: 59, 130, 246;
--secondary: #f6823b;
--accent: #82f63b;
}
module.exports = {
theme: {
extend: {
colors: {
'brand': {
DEFAULT: '#3b82f6',
50: '#eff6ff',
...
}
}
}
}
}
$primary-color: #3b82f6; $secondary-color: #f6823b; $accent-color: #82f63b; $neutral-color: #f1f5f9;
{
"hex": "#3b82f6",
"rgb": "59, 130, 246",
"hsl": "217, 91%, 60%",
"name": "Royal Blue"
}
My Color Library
0Save your favorite colors. Synced across all color tools.
Import format info
Import a JSON file with this format:
[
{"hex": "#FF8C00", "name": "Orange"},
{"hex": "#3B82F6", "name": "Blue"}
]
What This Tool Does
Keyboard Shortcuts
Professional Color Conversion Made Easy
Color is the foundation of visual design. Whether you're a web developer implementing a design system, a graphic designer creating brand guidelines, or a UI/UX professional ensuring accessibility compliance, having precise color conversion tools is essential.
Our HEX to RGB Converter provides instant, accurate color conversions with advanced features designed for modern workflows. Beyond simple conversion, we offer comprehensive color analysis including WCAG accessibility testing, automatic generation of shades and tints, color harmony schemes, gradient creation, and export in multiple formats.
How to Use the HEX to RGB Converter
Enter Your HEX Code
Type or paste a HEX color code (e.g., #3B82F6 or 3B82F6) in the input field, or click "Pick Color" to use the visual color picker.
Check Accessibility
View WCAG contrast ratios against black and white backgrounds. AA and AAA compliance badges show instantly.
Explore Variations
Navigate through tabs to generate shades, tints, color harmonies, palettes, or gradients.
Export and Save
Copy individual colors, export code in your preferred format, or save to your personal library.
Key Features
Real-Time Conversion
Instant bidirectional conversion between HEX, RGB, HSL, and CMYK formats.
WCAG Accessibility
Automatic contrast ratio calculations with AA and AAA compliance indicators.
Shades & Tints
Generate lighter tints and darker shades automatically for design systems.
Color Harmony
Explore complementary, triadic, split-complementary, and analogous schemes.
Gradient Generator
Create smooth gradients with customizable color stops.
Multi-Format Export
Export in CSS Variables, Tailwind Config, SCSS, or JSON format.