Color #ff02c6
A vivid, highly saturated medium magenta.
Conversions
#ff02c6
rgb(255, 2, 198)
hsl(313.5, 100%, 50.4%)
hsv(313.5, 99.2%, 100%)
cmyk(0%, 99.2%, 22.4%, 0%)
lab(57.45, 90.91, -33.23)
lch(57.45, 96.79, 339.92)
oklch(67.2%, 0.2889, 341.95)
hwb(313.5, 0.8%, 0%)
Harmony colors
Accessibility
Black text reads better on this background (6.08:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#c6c5af · ΔE 49
Deuteranopia
#cfdaa9 · ΔE 64.6
Tritanopia
#f99994 · ΔE 28.7
Achromatopsia
#8a8a8a · ΔE 30.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #ff02c6;
bg-[#ff02c6]
Related colors
Frequently asked questions
#ff02c6 (#ff02c6) is rgb(255, 2, 198) in RGB.
No, #ff02c6 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 #ff02c6, or check how it holds up for accessibility.