Color #f012dd
A vivid, highly saturated medium magenta.
Conversions
#f012dd
rgb(240, 18, 221)
hsl(305.1, 88.1%, 50.6%)
hsv(305.1, 92.5%, 94.1%)
cmyk(0%, 92.5%, 7.9%, 5.9%)
lab(56.27, 89.96, -48.39)
lch(56.27, 102.15, 331.72)
oklch(66.2%, 0.2921, 332.83)
hwb(305.1, 7.1%, 5.9%)
Harmony colors
Accessibility
Black text reads better on this background (5.84:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#bbbac4 · ΔE 32.9
Deuteranopia
#c3cdbd · ΔE 51.5
Tritanopia
#ebaca6 · ΔE 33.4
Achromatopsia
#878787 · ΔE 31
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #f012dd;
bg-[#f012dd]
Related colors
Frequently asked questions
#f012dd (#f012dd) is rgb(240, 18, 221) in RGB.
No, #f012dd 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 #f012dd, or check how it holds up for accessibility.