Color #b931a3
A moderately saturated medium magenta.
Conversions
#b931a3
rgb(185, 49, 163)
hsl(309.7, 58.1%, 45.9%)
hsv(309.7, 73.5%, 72.5%)
cmyk(0%, 73.5%, 11.9%, 27.5%)
lab(45.85, 64.98, -31.8)
lch(45.85, 72.34, 333.92)
oklch(56.1%, 0.2089, 335.45)
hwb(309.7, 19.2%, 27.5%)
Harmony colors
Accessibility
White text reads better on this background (5.21:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#929191 · ΔE 30.9
Deuteranopia
#989f8d · ΔE 47
Tritanopia
#b5817e · ΔE 27.5
Achromatopsia
#6d6d6d · ΔE 27.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #b931a3;
bg-[#b931a3]
Related colors
Frequently asked questions
#b931a3 (#b931a3) is rgb(185, 49, 163) in RGB.
No, #b931a3 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 #b931a3, or check how it holds up for accessibility.