#DD11BB color
#DD11BB is a vivid pink colour. It is rgb(221, 17, 187) in RGB and hsl(310, 86%, 47%) in HSL. Text in black reads better on it: the contrast is 4.87:1 against black and 4.31: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{#DD11BB}:\quad R=\mathrm{DD}_{16}=221,\ G=\mathrm{11}_{16}=17,\ B=\mathrm{BB}_{16}=187 - 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{#11DD33} - 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{#DD11BB} = \mathrm{rgb}(221, 17, 187) \]
\[ \mathrm{#DD11BB}:\quad R=\mathrm{DD}_{16}=221,\ G=\mathrm{11}_{16}=17,\ B=\mathrm{BB}_{16}=187 \]
\[ H=310^\circ,\quad S=86\%,\quad L=47\% \]
\[ 310^\circ + 180^\circ = 130^\circ ;\Rightarrow; \mathrm{#11DD33} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 4.31:1\ \text{(on white)} \]#DD11BB in every colour format
| Format | Value |
|---|---|
| HEX | #DD11BB |
| RGB | rgb(221, 17, 187) |
| RGB (percent) | rgb(86.7%, 6.7%, 73.3%) |
| HSL | hsl(310, 86%, 47%) |
| HSV / HSB | hsv(310, 92%, 87%) |
| CMYK | cmyk(0%, 92%, 15%, 13%) |
| Decimal | 14487995 |
| Description | vivid 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.31:1 | fail | pass | fail | fail |
| Black text | 4.87:1 | pass | pass | fail | pass |
Shades and tints
| Kind | Hex codes (darkest to lightest) |
|---|---|
| Shades (mixed with black) | #25031F #4A063E #6F095E #930B7D #B80E9C |
| This colour | #DD11BB |
| Tints (mixed with white) | #E339C6 #E860D2 #EE88DD #F4B0E8 #F9D7F4 |
How it looks with colour blindness
| Type | Hex | Distance from the original |
|---|---|---|
| Protanopia | #2067BF | 73 |
| Deuteranopia | #6E84B7 | 77 |
| Tritanopia | #E9296F | 48 |
| Grayscale | #7A7A7A | - |
Nearest named colours
| Name | Hex |
|---|---|
| Medium orchid | #BA55D3 |
| Medium violet red | #C71585 |
| Dark magenta | #8B008B |
| Orchid | #DA70D6 |
Questions
What is the RGB value of #DD11BB?
rgb(221, 17, 187): red 221, green 17, blue 187.
What is the HSL value of #DD11BB?
hsl(310, 86%, 47%): a hue of 310°, 86% saturation and 47% lightness.
What is the complementary colour of #DD11BB?
#11DD33, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #22EE44.
Should I use white or black text on #DD11BB?
Black. White gives 4.31:1 and black 4.87:1; the better one passes WCAG AA for normal text.
What is the CMYK value of #DD11BB?
cmyk(0%, 92%, 15%, 13%). This is a simple formula conversion; printed colours depend on the printer profile.
What is the closest named colour to #DD11BB?
Medium orchid (#BA55D3).