#BA1EB1
A medium, vivid magenta closely aligning with Darkmagenta.
About #BA1EB1
Visually, #BA1EB1 is defined as a vivid magenta. Its closest recognized web color is Darkmagenta. In the RGB color space, it consists of 186 red, 30 green, and 177 blue.
Translating this color to physical media requires the CMYK color model. This specific hue requires a mix of 0% C, 84% M, 5% Y, and 27% K. With a hue angle of 303.5 degrees, it sits comfortably in the magenta spectrum.
Contrast ratios determine whether this color is safe for typography. Mathematical luminance calculations suggest that #FFFFFF text provides the most optimal reading experience. You can view the detailed AAA and AA pass/fail metrics in the table below.
Color Space Conversions
HEX#BA1EB1
RGB186, 30, 177
HSL303.5°, 72.2%, 42.4%
CMYK0%, 84%, 5%, 27%
HSV303.5°, 83.9%, 72.9%
LAB45.0, 72.3, -41.4
XYZ28.6, 14.5, 42.9
Decimal12197553
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
5.37:1
Text on #FFFFFF
AA
3.91:1
Text on #000000
AA Large
5.14:1
Text on #F8FAFC
AA
3.32:1
Text on #0F172A
AA Large
CSS Implementation
.bg-color {
background-color: #BA1EB1;
}
.text-color {
color: #BA1EB1;
}
.border-color {
border: 2px solid #BA1EB1;
}