Color #b23298
A moderately saturated medium magenta.
Conversions
#b23298
rgb(178, 50, 152)
hsl(312.2, 56.1%, 44.7%)
hsv(312.2, 71.9%, 69.8%)
cmyk(0%, 71.9%, 14.6%, 30.2%)
lab(44.26, 61.36, -27.8)
lch(44.26, 67.36, 335.63)
oklch(54.5%, 0.196, 337.35)
hwb(312.2, 19.6%, 30.2%)
Harmony colors
Accessibility
White text reads better on this background (5.52:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#8d8c88 · ΔE 33.2
Deuteranopia
#939a84 · ΔE 48
Tritanopia
#ae7976 · ΔE 25.9
Achromatopsia
#696969 · ΔE 27
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #b23298;
bg-[#b23298]
Related colors
Frequently asked questions
#b23298 (#b23298) is rgb(178, 50, 152) in RGB.
No, #b23298 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 #b23298, or check how it holds up for accessibility.