Color #ba0782
A vivid, highly saturated dark magenta.
Conversions
#ba0782
rgb(186, 7, 130)
hsl(318.8, 92.7%, 37.8%)
hsv(318.8, 96.2%, 72.9%)
cmyk(0%, 96.2%, 30.1%, 27.1%)
lab(41.54, 69.56, -18.48)
lch(41.54, 71.97, 345.12)
oklch(52.5%, 0.2185, 347.07)
hwb(318.8, 2.7%, 27.1%)
Harmony colors
Accessibility
White text reads better on this background (6.1:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#908f72 · ΔE 48.6
Deuteranopia
#979f6e · ΔE 59.6
Tritanopia
#b66460 · ΔE 23.5
Achromatopsia
#626262 · ΔE 27.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #ba0782;
bg-[#ba0782]
Related colors
Frequently asked questions
#ba0782 (#ba0782) is rgb(186, 7, 130) in RGB.
No, #ba0782 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 #ba0782, or check how it holds up for accessibility.