Color Converter
Instantly convert colors between HEX, RGB, HSL, HSV, CMYK, and CSS named colors with live WCAG contrast checking.
Type or paste any format: Hex (`#ff0080`), RGB (`rgb(255, 0, 128)`), HSL (`hsl(330, 100%, 50%)`), HSV, CMYK, or a CSS name (`crimson`).
Quick Presets:
CUSTOMAlpha: 100%
#3b82f6
rgb(59, 130, 246)
WCAG 2.1 Contrast Analysis
Real-time readability scores against standard white and black backgrounds.
On Pure White (#fff)3.68:1
White text on color
AA NormalAAA
On Pure Black (#000)5.71:1
Black text on color
AA NormalAAA
Optimal text color on this background: BlackWCAG 2.1 Level AA requires 4.5:1
Fine-Tune Channels
Red (R)59
Green (G)130
Blue (B)246
Alpha (Opacity)100%
Converted Color Formats
HEX
#3b82f6
HEX with Alpha
#3b82f6
RGB
rgb(59, 130, 246)
RGBA
rgba(59, 130, 246, 1)
HSL
hsl(217, 91%, 60%)
HSLA
hsla(217, 91%, 60%, 1)
HSV
hsv(217, 76%, 96%)
CMYK
cmyk(76%, 47%, 0%, 4%)
CSS Name
None (No standard CSS keyword)
CSS Background Snippet
background-color: rgba(59, 130, 246, 1);