Skip to content
Kolorvia
#b12f9b

Color #b12f9b

A moderately saturated medium magenta.

Conversions

HEX
#b12f9b
RGB
rgb(177, 47, 155)
HSL
hsl(310.2, 58%, 43.9%)
HSV / HSB
hsv(310.2, 73.4%, 69.4%)
CMYK
cmyk(0%, 73.4%, 12.4%, 30.6%)
LAB
lab(43.87, 62.57, -30.21)
LCH
lch(43.87, 69.48, 334.23)
OKLCH
oklch(54.3%, 0.2009, 335.78)
HWB
hwb(310.2, 18.4%, 30.6%)

Harmony colors

Complementary

#2fb145

Analogous

#862fb1
#b12f9b
#b12f5a

Triadic

#b12f9b
#9bb12f
#2f9bb1

Split-complementary

#b12f9b
#5ab12f
#2fb186

Tetradic

#b12f9b
#b1452f
#2fb145
#2f9bb1

Square

#b12f9b
#b1862f
#2fb145
#2f5ab1

Shades

Color #b12f9b mixed toward black.

#932781
#761f67
#58184d
#3b1034
#1d081a

Tints

Color #b12f9b mixed toward white.

#cd43b5
#d768c4
#e18ed3
#ebb4e2
#f5d9f0

Tones

Color #b12f9b mixed toward gray.

#a63a94
#9b458d
#904f85
#865a7e
#7b6577

Accessibility

Aa White text on this color
5.6:1
Aa Black text on this color
3.75:1

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

CSS
background-color: #b12f9b;
Tailwind (arbitrary value)
bg-[#b12f9b]

Related colors

Orchid #da70d6
Dark Magenta #8b008b
Fuchsia #ff00ff
Plum #dda0dd
Purple #800080
Thistle #d8bfd8

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

Build something with this color

Generate a full palette from #b12f9b, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.