#BB55AA color
#BB55AA is a muted pink colour. It is rgb(187, 85, 170) in RGB and hsl(310, 43%, 53%) in HSL. Text in black reads better on it: the contrast is 4.99:1 against black and 4.21:1 against white.
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{#BB55AA}:\quad R=\mathrm{BB}_{16}=187,\ G=\mathrm{55}_{16}=85,\ 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.
310^\circ + 180^\circ = 130^\circ ;\Rightarrow; \mathrm{#55BB66} - 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{#BB55AA} = \mathrm{rgb}(187, 85, 170) \]
\[ \mathrm{#BB55AA}:\quad R=\mathrm{BB}_{16}=187,\ G=\mathrm{55}_{16}=85,\ B=\mathrm{AA}_{16}=170 \]
\[ H=310^\circ,\quad S=43\%,\quad L=53\% \]
\[ 310^\circ + 180^\circ = 130^\circ ;\Rightarrow; \mathrm{#55BB66} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 4.21:1\ \text{(on white)} \]#BB55AA in every colour format
| Format | Value |
|---|---|
| HEX | #BB55AA |
| RGB | rgb(187, 85, 170) |
| RGB (percent) | rgb(73.3%, 33.3%, 66.7%) |
| HSL | hsl(310, 43%, 53%) |
| HSV / HSB | hsv(310, 55%, 73%) |
| CMYK | cmyk(0%, 55%, 9%, 27%) |
| Decimal | 12277162 |
| Description | muted 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 | 4.21:1 | fail | pass | fail | fail |
| Black text | 4.99:1 | pass | pass | fail | pass |
Shades and tints
| Kind | Hex codes (darkest to lightest) |
|---|---|
| Shades (mixed with black) | #1F0E1C #3E1C39 #5E2B55 #7D3971 #9C478E |
| This colour | #BB55AA |
| Tints (mixed with white) | #C671B8 #D28EC6 #DDAAD5 #E8C6E3 #F4E3F1 |
How it looks with colour blindness
| Type | Hex | Distance from the original |
|---|---|---|
| Protanopia | #5472AD | 47 |
| Deuteranopia | #7281A7 | 48 |
| Tritanopia | #C35B78 | 31 |
| Grayscale | #7B7B7B | - |
Nearest named colours
| Name | Hex |
|---|---|
| Orchid | #DA70D6 |
| Violet | #EE82EE |
| Medium orchid | #BA55D3 |
| Medium violet red | #C71585 |
Questions
What is the RGB value of #BB55AA?
rgb(187, 85, 170): red 187, green 85, blue 170.
What is the HSL value of #BB55AA?
hsl(310, 43%, 53%): a hue of 310°, 43% saturation and 53% lightness.
What is the complementary colour of #BB55AA?
#55BB66, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #44AA55.
Should I use white or black text on #BB55AA?
Black. White gives 4.21:1 and black 4.99:1; the better one passes WCAG AA for normal text.
What is the CMYK value of #BB55AA?
cmyk(0%, 55%, 9%, 27%). This is a simple formula conversion; printed colours depend on the printer profile.
What is the closest named colour to #BB55AA?
Orchid (#DA70D6).