#BB33AA color
#BB33AA is a pink colour. It is rgb(187, 51, 170) in RGB and hsl(308, 57%, 47%) in HSL. Text in white reads better on it: the contrast is 5.04:1 against white and 4.17:1 against black.
How to work it out
- 1
A hex code is three pairs of base-16 digits: red, green and blue, from 00 (none) to FF (full).
\mathrm{#BB33AA}:\quad R=\mathrm{BB}_{16}=187,\ G=\mathrm{33}_{16}=51,\ B=\mathrm{AA}_{16}=170 - 2
HSL describes the same colour as a hue angle on the colour wheel (0° red, 120° green, 240° blue), a saturation and a lightness.
- 3
The complementary colour sits opposite on the wheel: add 180° to the hue.
308^\circ + 180^\circ = 128^\circ ;\Rightarrow; \mathrm{#33BB44} - 4
Contrast is the ratio of the lighter to the darker relative luminance, each plus 0.05. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text (AA).
LaTeX source of the formulas on this page
\[ \mathrm{#BB33AA} = \mathrm{rgb}(187, 51, 170) \]
\[ \mathrm{#BB33AA}:\quad R=\mathrm{BB}_{16}=187,\ G=\mathrm{33}_{16}=51,\ B=\mathrm{AA}_{16}=170 \]
\[ H=308^\circ,\quad S=57\%,\quad L=47\% \]
\[ 308^\circ + 180^\circ = 128^\circ ;\Rightarrow; \mathrm{#33BB44} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 5.04:1\ \text{(on white)} \]#BB33AA in every colour format
| Format | Value |
|---|---|
| HEX | #BB33AA |
| RGB | rgb(187, 51, 170) |
| RGB (percent) | rgb(73.3%, 20.0%, 66.7%) |
| HSL | hsl(308, 57%, 47%) |
| HSV / HSB | hsv(308, 73%, 73%) |
| CMYK | cmyk(0%, 73%, 9%, 27%) |
| Decimal | 12268458 |
| Description | pink |
Text contrast (WCAG)
| Background of this colour with… | Contrast | AA normal (4.5) | AA large (3) | AAA normal (7) | AAA large (4.5) |
|---|---|---|---|---|---|
| White text | 5.04:1 | pass | pass | fail | pass |
| Black text | 4.17:1 | fail | pass | fail | fail |
Shades and tints
| Kind | Hex codes (darkest to lightest) |
|---|---|
| Shades (mixed with black) | #1F081C #3E1139 #5E1A55 #7D2271 #9C2B8E |
| This colour | #BB33AA |
| Tints (mixed with white) | #C655B8 #D277C6 #DD99D5 #E8BBE3 #F4DDF1 |
How it looks with colour blindness
| Type | Hex | Distance from the original |
|---|---|---|
| Protanopia | #2F62AD | 58 |
| Deuteranopia | #6176A7 | 61 |
| Tritanopia | #C4406B | 40 |
| Grayscale | #6F6F6F | - |
Nearest named colours
| Name | Hex |
|---|---|
| Dark magenta | #8B008B |
| Medium orchid | #BA55D3 |
| Purple | #800080 |
| Orchid | #DA70D6 |
Questions
What is the RGB value of #BB33AA?
rgb(187, 51, 170): red 187, green 51, blue 170.
What is the HSL value of #BB33AA?
hsl(308, 57%, 47%): a hue of 308°, 57% saturation and 47% lightness.
What is the complementary colour of #BB33AA?
#33BB44, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #44CC55.
Should I use white or black text on #BB33AA?
White. White gives 5.04:1 and black 4.17:1; the better one passes WCAG AA for normal text.
What is the CMYK value of #BB33AA?
cmyk(0%, 73%, 9%, 27%). This is a simple formula conversion; printed colours depend on the printer profile.
What is the closest named colour to #BB33AA?
Dark magenta (#8B008B).