Color #ba0c94
A vivid, highly saturated dark magenta.
Conversions
#ba0c94
rgb(186, 12, 148)
hsl(313.1, 87.9%, 38.8%)
hsv(313.1, 93.5%, 72.9%)
cmyk(0%, 93.5%, 20.4%, 27.1%)
lab(42.53, 71.17, -27.97)
lch(42.53, 76.47, 338.55)
oklch(53.5%, 0.2268, 340.5)
hwb(313.1, 4.7%, 27.1%)
Harmony colors
Accessibility
White text reads better on this background (5.89:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#908f83 · ΔE 41
Deuteranopia
#979f7e · ΔE 55.6
Tritanopia
#b6726e · ΔE 27
Achromatopsia
#646464 · ΔE 28.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #ba0c94;
bg-[#ba0c94]
Related colors
Frequently asked questions
#ba0c94 (#ba0c94) is rgb(186, 12, 148) in RGB.
No, #ba0c94 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 #ba0c94, or check how it holds up for accessibility.