Color #ff12dc
A vivid, highly saturated medium magenta.
Conversions
#ff12dc
rgb(255, 18, 220)
hsl(308.9, 100%, 53.5%)
hsv(308.9, 92.9%, 100%)
cmyk(0%, 92.9%, 13.7%, 0%)
lab(58.85, 92.45, -43.58)
lch(58.85, 102.21, 334.76)
oklch(68.5%, 0.2975, 336.38)
hwb(308.9, 7.1%, 0%)
Harmony colors
Accessibility
Black text reads better on this background (6.37:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#c7c5c3 · ΔE 36
Deuteranopia
#cfdabc · ΔE 58.4
Tritanopia
#f9aba5 · ΔE 31.8
Achromatopsia
#8e8e8e · ΔE 31
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #ff12dc;
bg-[#ff12dc]
Related colors
Frequently asked questions
#ff12dc (#ff12dc) is rgb(255, 18, 220) in RGB.
No, #ff12dc is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.
Related tools
HEX to RGB Converter
Convert any HEX color code to its RGB and HSL equivalents, live, with copy-to-clipboard values.
Try it → AccessibilityContrast Checker
Check the WCAG contrast ratio between any two colors, live, with AA/AAA pass-fail results.
Try it → GeneratorsPalette Generator
Generate complementary, analogous, triadic, split-complementary, tetradic, square, and monochromatic palettes from any base color.
Try it →Build something with this color
Generate a full palette from #ff12dc, or check how it holds up for accessibility.