Color #b12f9b
A moderately saturated medium magenta.
Conversions
#b12f9b
rgb(177, 47, 155)
hsl(310.2, 58%, 43.9%)
hsv(310.2, 73.4%, 69.4%)
cmyk(0%, 73.4%, 12.4%, 30.6%)
lab(43.87, 62.57, -30.21)
lch(43.87, 69.48, 334.23)
oklch(54.3%, 0.2009, 335.78)
hwb(310.2, 18.4%, 30.6%)
Harmony colors
Accessibility
White text reads better on this background (5.6:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#8c8b8a · ΔE 31.2
Deuteranopia
#929986 · ΔE 47.1
Tritanopia
#ad7b77 · ΔE 27.3
Achromatopsia
#686868 · ΔE 27.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #b12f9b;
bg-[#b12f9b]
Related colors
Frequently asked questions
#b12f9b (#b12f9b) is rgb(177, 47, 155) in RGB.
No, #b12f9b 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 #b12f9b, or check how it holds up for accessibility.