Color #ff28cc
A vivid, highly saturated medium magenta.
Conversions
#ff28cc
rgb(255, 40, 204)
hsl(314.2, 100%, 57.8%)
hsv(314.2, 84.3%, 100%)
cmyk(0%, 84.3%, 20%, 0%)
lab(59.11, 87.55, -34.08)
lch(59.11, 93.95, 338.73)
oklch(68.5%, 0.2785, 340.69)
hwb(314.2, 15.7%, 0%)
Harmony colors
Accessibility
Black text reads better on this background (6.43:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#c8c6b5 · ΔE 45.3
Deuteranopia
#d0dbaf · ΔE 62.2
Tritanopia
#f9a09b · ΔE 28.6
Achromatopsia
#8e8e8e · ΔE 30.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #ff28cc;
bg-[#ff28cc]
Related colors
Frequently asked questions
#ff28cc (#ff28cc) is rgb(255, 40, 204) in RGB.
No, #ff28cc 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 #ff28cc, or check how it holds up for accessibility.