Recognised as Colour
#BA18B5
- #BA18B5
- Magenta
- Dark
- Nearest: Dark magenta
#BA18B5 is a magenta with RGB values 186, 24, 181 and HSL 302°, 77%, 41%. It is a dark colour, so white text on it reaches 5.4:1 contrast (AA for normal text). The nearest named colour is Dark magenta.
Colour values
#BA18B5#BA18B5
HEX#BA18B5
RGBrgb(186, 24, 181)
RGB (0–1)0.7294, 0.0941, 0.7098
RGB percentages72.9%, 9.4%, 71%
HSLhsl(301.9, 77.1%, 41.2%)
HSV / HSBhsv(301.9, 87.1%, 72.9%)
CMYK0%, 87.1%, 2.7%, 27.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer12,196,021
CSS custom property--colour: #BA18B5;
Brightness & contrast
Relative luminance0.14429WCAG 2.x, 0 is black and 1 is white
Perceived brightness120.1 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 5.4:1
Contrast with white5.4:1WCAG normal text: AA
Contrast with black3.89:1WCAG normal text: Fail
Greyscale equivalent#464646
Inverted#45E74A
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text5.4:1WCAG large text: AAA
Contrast with black, large text3.89:1WCAG large text: AA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#18BA1D
Analogous#6E18BA, #BA1864
Triadic#B5BA18, #18B5BA
Split complementary#64BA18, #18BA6E
Tetradic#BA6E18, #18BA1D, #1864BA
Tints, shades & saturation
Channel breakdown
R186
G24
B181
Red186 (72.9%)
Green24 (9.4%)
Blue181 (71%)
Hue301.85°
Saturation (HSL)77.14%
Lightness41.18%
Dominant channelRed
Hex per channelR BA · G 18 · B B5
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Harmonies
Similar named colours
Also reads as
Ba18B5 (chemical formula)
- Formula
- 2,525.99 g/mol
- 23 atoms
Ba18B5 has a molar mass of 2,525.99 g/mol, made up of 23 atoms across 2 elements: 18 × Ba, 5 × B.
Molar mass
Molar mass2,525.99 g/mol
Total atoms per molecule23
Distinct elements2
Mass of one molecule4.1945051 × 10^-21 g
Molecules per gram2.3840715 × 10^20
Name
NameNot in the name tablea name cannot be worked out from a formula alone: isomers share formulas, and naming depends on bonding the formula does not show
Composition by mass
Ba97.9%
B2.1%
Barium (Ba × 18)2,471.94 g/mol, 97.86%
Boron (B × 5)54.05 g/mol, 2.14%
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Nerdulate something else
Nothing in mind? Surprise me · today’s page