Color #ff18dc
A vivid, highly saturated medium magenta.
Conversions
#ff18dc
rgb(255, 24, 220)
hsl(309.1, 100%, 54.7%)
hsv(309.1, 90.6%, 100%)
cmyk(0%, 90.6%, 13.7%, 0%)
lab(59.05, 91.85, -43.26)
lch(59.05, 101.53, 334.78)
oklch(68.7%, 0.2955, 336.42)
hwb(309.1, 9.4%, 0%)
Harmony colors
Accessibility
Black text reads better on this background (6.42:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#c7c6c3 · ΔE 37.1
Deuteranopia
#d0dabc · ΔE 58
Tritanopia
#f9aba6 · ΔE 31.3
Achromatopsia
#8e8e8e · ΔE 30.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #ff18dc;
bg-[#ff18dc]
Related colors
Frequently asked questions
#ff18dc (#ff18dc) is rgb(255, 24, 220) in RGB.
No, #ff18dc 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 #ff18dc, or check how it holds up for accessibility.