#BB11AA color

#BB11AA is rgb(187, 17, 170) in RGB and hsl(306, 83%, 40%) in HSL. The closest CSS named color is mediumvioletred (#c71585, ΔE 8.3). Use white text on it (contrast 5.56:1).

#BB11AAmagenta
HEX#BB11AA
Short HEX#B1A
RGBrgb(187, 17, 170)
RGB percentrgb(73.3%, 6.7%, 66.7%)
HSLhsl(306, 83%, 40%)
HSV / HSBhsv(306, 91%, 73%)
CMYKcmyk(0%, 91%, 9%, 27%)

Edit in the color converter → · Check contrast → · Shades →

About #BB11AA

#BB11AA is a medium-dark, vivid magenta with a hue angle of 306°. It belongs to the pink & magenta family and reads as a warm color. In the RGB model red is the strongest channel at 187 (73%) and green the weakest at 17 (7%). Colors like this are typically used for buttons, links, badges and other accents that need to stand out.

Color conversions

HEX#BB11AA
Short HEX#B1A
RGBrgb(187, 17, 170)
RGB percentrgb(73.3%, 6.7%, 66.7%)
HSLhsl(306, 83%, 40%)
HSV / HSBhsv(306, 91%, 73%)
CMYKcmyk(0%, 91%, 9%, 27%)
CIELAB (D65)lab(44 73.7 -38.8)
Decimal12259754
Binary10111011 00010001 10101010

HEX BB 11 AA → 187, 17, 170 (each pair is a base-16 number: B×16 + B = 187)

Color harmonies

Harmonies rotate the HSL hue (complementary +180°, triadic ±120°, split-complementary ±150°, analogous ±30°, tetradic 90° steps) and keep saturation and lightness. Swatches link to the nearest color page.

Tints and shades of #BB11AA

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #BB11AARatioAA normalAA largeAAA normalAAA large
White text5.56:1PassPassFailPass
Black text3.77:1FailPassFailFail
White text on #BB11AA
Black text on #BB11AA
#BB11AA text on white
#BB11AA text on black

Relative luminance is 0.1387 (0 = black, 1 = white). WCAG 2 requires 4.5:1 for body text and 3:1 for large text and UI components.

Color blindness simulation

Protanopia
#005aae

Deuteranopia
#5770a6

Tritanopia
#c42c64

Achromatopsia
#686868

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 30.3). Do not rely on it alone to signal status; add an icon or text label. Simulation uses the Machado (2009) matrices for full dichromacy; achromatopsia shows luminance only.

Similar named colors

NameHEXΔE 2000
mediumvioletred#c715858.3
darkorchid#9932cc9.2
darkmagenta#8b008b10.3
darkviolet#9400d310.9

Nearby colors

CSS

.element {
  color: #bb11aa;
  background-color: rgb(187, 17, 170);
  border: 1px solid hsl(306, 83%, 40%);
  box-shadow: 0 2px 8px rgb(187 17 170 / 50%);
}
:root { --brand: #bb11aa; }

Frequently asked questions

What color is #BB11AA?
A medium-dark vivid magenta in the pink & magenta family. Closest CSS name: mediumvioletred.
What is #BB11AA in RGB?
rgb(187, 17, 170): red 187, green 17, blue 170.
What is the complementary color of #BB11AA?
#11BB22, found by rotating the hue 180°.