#bb21af Color Information

#bb21af Color Information
Details | Shades, Tints, and Tones | Variations | Color Coordinates | Color Schemes | HTML+CSS Examples | Coding & Programming | Color Blindness | Accessibility | Related Colors

The hexadecimal value (hex value) of this color is #bb21af. In RGB, it consists of 73.3% Red, 12.9% Green, and 68.6% Blue. Likewise, in the CMYK color space, it consists of 0% Cyan, 82.4% Magenta, 6.4% Yellow, and 26.7% Black. On the color wheel, its Hue is found at 304.7°, with saturation of 70% and lightness of 43.1%. The decimal value for #bb21af is 12263855, and its nearest "web safe" color is #cc3399. In the RGB color space, the strongest component for #bb21af is red. In the CMYK color space, its strongest component is magenta. And in the RYB color space, its strongest component is red.
  • HexHex code for this color#bb21af Copy
  • NameThe common name of this color(Unnamed) Copy
  • RGBRed, Green, Blue composition for this color187, 33, 175 Copy
  • RGB PercentPercent Red, Green, Blue composition for this color73.3%, 12.9%, 68.6% Copy
  • CMYCyan, Magenta, Yellow composition for this color0.267, 0.871, 0.314 Copy
  • CMYKCyan, Magenta, Yellow, Black composition for this color0, 0.824, 0.064, 0.267 Copy
  • HSLHue, Saturation, Lightness combination for this color304.7°, 70.0%, 43.1% Copy
  • HSV (or HSB)Hue, Saturation, Brightness combination for this color304.7°, 82.4%, 73.3% Copy
  • XYZCIE 1931 color space XYZ coordinates for this color28.775, 14.748, 41.887 Copy
  • RYBRed, Yellow, Blue composition for this color187, 33, 175 Copy
  • DecimalDecimal representation of this color's hex code12263855 Copy
  • CIE-LABCIELAB color space coordinates for this color45.287, 71.568, -39.791 Copy
  • CIE-LCHCIE-LCH color space coordinates for this color (chroma, hue, etc.)45.287, 81.886, 330.926 Copy
  • CIE-LUVCIE-LUV color space coordinates for this color45.287, 63.913, -67.708 Copy
  • Hunter LabHunter-Lab color space coordinates for this color38.403, 66.545, -37.788 Copy
  • xyYCIE xyY color space coordinates for this color0.337, 0.173, 14.748 Copy
  • AndroidValue of this color in Android development4290453935 / 0xffbb21af Copy
  • Web SafeHex code of the nearest "web safe" version of this color#cc3399 Copy
Last Updated: December 4, 2024

Shades of #bb21af

Shades are created by adding black to or removing lightness from a particular color. For #bb21af, its pure hue is 304.7° on the color wheel and its saturation is 70.0%, and its lightness is 43.1%. As the amount of black is added to this hue and we reduce its lightness, the result is increasingly darker shades tints. The palette given below provides 9 different shades of #bb21af, which — excluding black and our original color — range from #170416 to #a41d99.

Tints of #bb21af

Tints are created by adding white or lightness to a particular color. For #bb21af, its pure hue is 304.7° on the color wheel and its saturation is 70.0%, and its lightness is 43.1%. As the amount of white (lightness) is added to this hue, the result is increasingly lighter tints. The following palette gives 9 different tints of #bb21af, which — excluding white and our original color — range from #c43db9 to #f7e3f5.

Tones of #bb21af

Tones are the result of adding gray to a pure hue. In the case of #bb21af, its pure hue is 304.7° on the color wheel and its saturation is 70.0%, so we increase this saturation to create more colorful tones, and decrease the saturation to create grayer tones. The palette shown below gives 9 different tones of #bb21af, which range from #6e6e6e (the grayest / 0% saturation) to #dc00cb (the most colorful / 100% saturation).

Variations of #bb21af

There are several ways to create color variations and premutations of #bb21af! For #bb21af, there are 6 variations of the color that can be created by swapping its Red, Green, and Blue color positions, of which 5 are different from our original color. Among these six variations, there are 6 unique colors including our original color, #bb21af. Click on these colors to learn more about them, too!

Color Coordinates of #bb21af

This color, #bb21af, consists of 73.3% Red, 12.9% Green, and 68.6% Blue, resulting in color coordinates Red = 187, Green = 33, Blue = 175. Likewise, the CMYK color space composition for #bb21af is 0% Cyan, 82.4% Magenta, 6.4% Yellow, and 26.7% Black. These values are shown in the following charts and tables.

R73.3%
C0.0%
G12.9%
M82.4%
B68.6%
Y6.4%
K26.7%
Color Base R (Red) G (Green) B (Blue)
Decimal 187 33 175
Octal 273 41 257
Hexa #bb #21 #af
Binary 10111011 00100001 10101111
Color Base C (Cyan) M (Magenta) Y (Yellow) Y (Black)
Decimal 0 82 6 26
Octal 0 122 6 32
Hexa #00 #52 #06 #1a
Binary 00000000 01010010 00000110 00011010

Analogous Colors of #bb21af

Analogous colors are located 30 degrees away from a color's hue on the color wheel. For #bb21af — which has hue 304.7° — its analogous colors are located at 274.7° and 334.7° on the color wheel, with the same saturation and lightness as #bb21af.

Triadic Colors of #bb21af

Triadic colors are located 120 degrees away from a color's hue on the color wheel, which means the original color and its triadic colors are equidistant from one another on the color wheel and form a triangle. For #bb21af — which has hue 304.7° — its triadic colors are located at 64.7° and 304.7° on the color wheel, with the same saturation and lightness as #bb21af.

Complementary Color of #bb21af

A complementary color is located opposite a color on the color wheel (180 degrees away). For #bb21af — which has hue 304.7° — its complementary color is located at 124.7° on the color wheel, with the same saturation and lightness as #bb21af.

Split Complementary Colors of #bb21af

Split complementary colors are the analogs of a color's complement, which places them 210 degrees away on the color wheel from an original color. For #bb21af — which has hue 304.7° — its split complementary colors its split complementary colors are located at 94.7° and 304.7° on the color wheel, with the same saturation and lightness as #bb21af.

Tetradic Colors of #bb21af

Tetradic colors are two sets of complementary colors on either side of a color wheel from each other, forming a rectangle on the color wheel. For #bb21af — which has hue 304.7° — its tetradic colors are located at 214.7°, 304.7°, 34.7°, and 124.7° on the color wheel, with the same saturation and lightness as #bb21af.

Monochromatic Colors of #bb21af

Monochromatic colors are colors that share a common hue but that have different saturations and lightness. For #bb21af, we show 9 different monochromatic colors of it, ranging from #551951 — (which has very low saturation and very low lightness) — to #f258e6 (which has a very high saturation and very high lightness).

HTML+CSS Examples & Previews of #bb21af

We want to make getting started with #bb21af on your website fast and easy! Below are 8 examples of how to integrate #bb21af into a website using HTML+CSS. These examples include showing how #bb21af can be used to color text, backgrounds, shadows, and borders, as well as how it can be used as a solid fill or gradient fill for rectangles. These examples principally make use of <span> and <div> tags, although the CSS shown in particular can be repurposed to make use of #bb21af with other HTML elements.

#bb21af Foreground / Text Color

The color of this text is #bb21af.
<span style="color: #bb21af;">The color of this text is #bb21af.</span>

#bb21af Background Color

The background color for this text is #bb21af.
<div style="background-color: #bb21af; color:#ffffff; width:100%; height:100%; display: flex; justify-content: center; align-items: center;">The background color for this text is #bb21af.</div>

#bb21af Text Shadow Color

This color for the shadow of this text is #bb21af.
<span style="text-shadow: 3px 3px 3px #bb21af;">This color for the shadow of this text is #bb21af.</span>

#bb21af Border Color

This is a div with border color #bb21af.
<div style="border: #bb21af 4px solid;width:100%; height:100%; display: flex; justify-content: center; align-items: center;">This is a div with border color #bb21af.</div>

#bb21af Color Rectangle on a White Background

This is a rectangle of color #bb21af on a white background.
<div style="background-color: #ffffff; padding: 60px; width:100%; height: 100%;"><div style="background-color: #bb21af; color:#ffffff; width:100%; height:100%; padding: 10px; display: flex; justify-content: center; align-items: center;">This is a rectangle of color #bb21af on a white background.</div></div>

#bb21af Color Rectangle on a Black Background

This is a rectangle of color #bb21af on a black background.
<div style="background-color: #000000; padding: 60px; width:100%; height: 100%;"><div style="background-color: #bb21af; color:#ffffff; width:100%; height:100%; padding: 10px; display: flex; justify-content: center; align-items: center;">This is a rectangle of color #bb21af on a black background.</div></div>

Gradient from #bb21af to White

This is a gradient from #bb21af to white.
<div style="background: -webkit-linear-gradient(left,#bb21af,white); /* Firefox */ background: linear-gradient(to right,#bb21af,white); /* Safari */ background: -o-linear-gradient(left,#bb21af,white); /* Opera */ background: -moz-linear-gradient(left,#bb21af,white); width:100%; height:100%; display: flex; justify-content: center; align-items: center;">This is a gradient from #bb21af to white.</div>

Gradient from #bb21af to Black

This is a gradient from #bb21af to black.
<div style="background: -webkit-linear-gradient(left,#bb21af,black); /* Firefox */ background: linear-gradient(to right,#bb21af,black); /* Safari */ background: -o-linear-gradient(left,#bb21af,black); /* Opera */ background: -moz-linear-gradient(left,#bb21af,black); color: #ffffff; width:100%; height:100%; display: flex; justify-content: center; align-items: center;">This is a gradient from #bb21af to black.</div>

Coding & Programming with #bb21af

In addition to using #bb21af on the web, we know you might want to use it in your mobile and desktop apps, too. Whatever your needs, the table below shows how to access #bb21af in the language and environment of your choice. These code snippets are principally the hexadecimal representation of #bb21af, or the RGB color coordinates for the same (Red = 187, Green = 33, Blue = 175). If you need details about the color coordinates of #bb21af in other color spaces, refer to these details as provided toward the top of this page.

Language Environment Code Snippet
HTML + CSS (Hex Code) Web #bb21af
HTML + CSS (RGB Code) Web rgb(187, 33, 175)
CSS Background Color Web .myclass { background-color: #bb21af; }
CSS Foreground + Text Color Web .myclass { color: #bb21af; }
CSS Border Color Web .myclass { border: 2px solid #bb21af; }
Java (Multi-platform) new Color(187, 33, 175);
Python (Multi-platform) Color("#bb21af")
Swift iOS UIColor(red:187, green:33, blue:175, alpha:1.0000)
Objective-C (iOS) iOS [UIColor colorWithRed:187 green:33 blue:175 alpha:1.0000];
OpenGL (Graphics) glColor3f(187f, 33f, 175f);
C# / .NET Windows Color.FromArgb(187, 33, 175);
 

#bb21af Color Blindness

Not everyone can see #bb21af the same way. For those with color blindness, #bb21af might look very, very different. Here, we simulate eight examples of color blindness, and how #bb21af looks next to each one of them. In all cases, #bb21af is placed in a circle in the upper-left corner of each of the below boxes, with the color in the rest of those boxes signifying how #bb21af looks for someone with that type of color blindness. Many people will perceive close similarities between the colors in these boxes and the colors in the circles — with some noticing particular similarities. We offer this insight so that as you make choices about colors to use for your purposes, you can make an informed decision about whether #bb21af will be a good fit for everyone in your audience!

Trichromacy

Protanomaly
Affects 1 in 100 Men & 1 in 10,000 Women

Deuteranomaly
Affects 1 in 17 Men & 1 in 250 Women

Tritanomaly
Affects 1 in 10,000

Dichromacy

Protanopia
Affects 1 in 100, Mostly Men

Deuteranopia
Affects 1 in 100, Mostly Men

Tritanopia
Affects 1 in 100,000

Monochromacy

Achromatopsia
Affects 1 in 20,000

Achromatopsia
Affects 1 in 100,000

Accessibility

Not Accessibility Recommended

We analyzed whether #bb21af is an accessible color when used as a text / foreground color against a white background. This analysis is based on the Web Content Accessibility Guidelines (WCAG) 2 Level issued by W3C. Based on this analysis, we calculate a contrast ratio against white of approximately 5.3:1 against white. While there are some situations where this contrast is high enough to be considered accessible under the AA or AAA level standards, it is not high enough to be considered accessible in all cases. Details about the specific circumstances where #bb21af would and would not be an accessible foreground color are summarized below.

WCAG AA
Normal Size Text

WCAG AA
Large Size Text

WCAG AAA
Normal Size Text

WCAG AAA
Large Size Text