Color #ff28cb
A vivid, highly saturated medium magenta.
Conversions
#ff28cb
rgb(255, 40, 203)
hsl(314.5, 100%, 57.8%)
hsv(314.5, 84.3%, 100%)
cmyk(0%, 84.3%, 20.4%, 0%)
lab(59.06, 87.43, -33.58)
lch(59.06, 93.66, 338.99)
oklch(68.4%, 0.2779, 340.97)
hwb(314.5, 15.7%, 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
#c8c6b4 · ΔE 45.8
Deuteranopia
#d0dbae · ΔE 62.5
Tritanopia
#f99f9a · ΔE 28.5
Achromatopsia
#8e8e8e · ΔE 30.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #ff28cb;
bg-[#ff28cb]
Related colors
Frequently asked questions
#ff28cb (#ff28cb) is rgb(255, 40, 203) in RGB.
No, #ff28cb 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 #ff28cb, or check how it holds up for accessibility.