Color #ff31bb
A vivid, highly saturated medium magenta.
Conversions
#ff31bb
rgb(255, 49, 187)
hsl(319.8, 100%, 59.6%)
hsv(319.8, 80.8%, 100%)
cmyk(0%, 80.8%, 26.7%, 0%)
lab(59.02, 83.76, -24.46)
lch(59.02, 87.26, 343.72)
oklch(68.2%, 0.2631, 345.69)
hwb(319.8, 19.2%, 0%)
Harmony colors
Accessibility
Black text reads better on this background (6.41:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#c8c7a7 · ΔE 51.7
Deuteranopia
#d1dba1 · ΔE 64.6
Tritanopia
#f9948f · ΔE 25.7
Achromatopsia
#8e8e8e · ΔE 29.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #ff31bb;
bg-[#ff31bb]
Related colors
Frequently asked questions
#ff31bb (#ff31bb) is rgb(255, 49, 187) in RGB.
No, #ff31bb 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 #ff31bb, or check how it holds up for accessibility.