Color #ba0c6b
A vivid, highly saturated dark magenta.
Conversions
#ba0c6b
rgb(186, 12, 107)
hsl(327.2, 87.9%, 38.8%)
hsv(327.2, 93.5%, 72.9%)
cmyk(0%, 93.5%, 42.5%, 27.1%)
lab(40.84, 66.73, -5.21)
lch(40.84, 66.93, 355.54)
oklch(51.7%, 0.2064, 356.42)
hwb(327.2, 4.7%, 27.1%)
Harmony colors
Accessibility
White text reads better on this background (6.26:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#908f5e · ΔE 52.9
Deuteranopia
#979f5b · ΔE 61.3
Tritanopia
#b6524f · ΔE 18.3
Achromatopsia
#606060 · ΔE 27
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #ba0c6b;
bg-[#ba0c6b]
Related colors
Frequently asked questions
#ba0c6b (#ba0c6b) is rgb(186, 12, 107) in RGB.
No, #ba0c6b is not web-safe. The nearest web-safe colors are among its tones and shades below.
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 #ba0c6b, or check how it holds up for accessibility.