#DD0099 color
#DD0099 is a vivid pink colour. It is rgb(221, 0, 153) in RGB and hsl(318, 100%, 43%) in HSL. Text in white reads better on it: the contrast is 4.63:1 against white and 4.53: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{#DD0099}:\quad R=\mathrm{DD}_{16}=221,\ G=\mathrm{00}_{16}=0,\ B=\mathrm{99}_{16}=153 - 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.
318^\circ + 180^\circ = 138^\circ ;\Rightarrow; \mathrm{#00DD44} - 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{#DD0099} = \mathrm{rgb}(221, 0, 153) \]
\[ \mathrm{#DD0099}:\quad R=\mathrm{DD}_{16}=221,\ G=\mathrm{00}_{16}=0,\ B=\mathrm{99}_{16}=153 \]
\[ H=318^\circ,\quad S=100\%,\quad L=43\% \]
\[ 318^\circ + 180^\circ = 138^\circ ;\Rightarrow; \mathrm{#00DD44} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 4.63:1\ \text{(on white)} \]#DD0099 in every colour format
| Format | Value |
|---|---|
| HEX | #DD0099 |
| RGB | rgb(221, 0, 153) |
| RGB (percent) | rgb(86.7%, 0.0%, 60.0%) |
| HSL | hsl(318, 100%, 43%) |
| HSV / HSB | hsv(318, 100%, 87%) |
| CMYK | cmyk(0%, 100%, 31%, 13%) |
| Decimal | 14483609 |
| 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.63:1 | pass | pass | fail | pass |
| Black text | 4.53:1 | pass | pass | fail | pass |
Shades and tints
| Kind | Hex codes (darkest to lightest) |
|---|---|
| Shades (mixed with black) | #250019 #4A0033 #6F004D #930066 #B80080 |
| This colour | #DD0099 |
| Tints (mixed with white) | #E32BAA #E855BB #EE80CC #F4AADD #F9D5EE |
How it looks with colour blindness
| Type | Hex | Distance from the original |
|---|---|---|
| Protanopia | #3C5F9C | 75 |
| Deuteranopia | #7A8095 | 78 |
| Tritanopia | #ED0059 | 41 |
| Grayscale | #757575 | - |
Nearest named colours
| Name | Hex |
|---|---|
| Medium violet red | #C71585 |
| Deep pink | #FF1493 |
| Hot pink | #FF69B4 |
| Dark magenta | #8B008B |
Questions
What is the RGB value of #DD0099?
rgb(221, 0, 153): red 221, green 0, blue 153.
What is the HSL value of #DD0099?
hsl(318, 100%, 43%): a hue of 318°, 100% saturation and 43% lightness.
What is the complementary colour of #DD0099?
#00DD44, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #22FF66.
Should I use white or black text on #DD0099?
White. White gives 4.63:1 and black 4.53:1; the better one passes WCAG AA for normal text.
What is the CMYK value of #DD0099?
cmyk(0%, 100%, 31%, 13%). This is a simple formula conversion; printed colours depend on the printer profile.
What is the closest named colour to #DD0099?
Medium violet red (#C71585).