Color #b01798
A vivid, highly saturated dark magenta.
Conversions
#b01798
rgb(176, 23, 152)
hsl(309.4, 76.9%, 39%)
hsv(309.4, 86.9%, 69%)
cmyk(0%, 86.9%, 13.6%, 31%)
lab(41.39, 68.11, -32.31)
lch(41.39, 75.39, 334.62)
oklch(52.4%, 0.2191, 336.23)
hwb(309.4, 9%, 31%)
Harmony colors
Accessibility
White text reads better on this background (6.14:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#898886 · ΔE 33.3
Deuteranopia
#8f9682 · ΔE 49.4
Tritanopia
#ac7672 · ΔE 28.4
Achromatopsia
#626262 · ΔE 28.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #b01798;
bg-[#b01798]
Related colors
Frequently asked questions
#b01798 (#b01798) is rgb(176, 23, 152) in RGB.
No, #b01798 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 #b01798, or check how it holds up for accessibility.