#DD33AA color
#DD33AA is a pink colour. It is rgb(221, 51, 170) in RGB and hsl(318, 71%, 53%) in HSL. Text in black reads better on it: the contrast is 5.13:1 against black and 4.09: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{#DD33AA}:\quad R=\mathrm{DD}_{16}=221,\ 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.
318^\circ + 180^\circ = 138^\circ ;\Rightarrow; \mathrm{#33DD66} - 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{#DD33AA} = \mathrm{rgb}(221, 51, 170) \]
\[ \mathrm{#DD33AA}:\quad R=\mathrm{DD}_{16}=221,\ G=\mathrm{33}_{16}=51,\ B=\mathrm{AA}_{16}=170 \]
\[ H=318^\circ,\quad S=71\%,\quad L=53\% \]
\[ 318^\circ + 180^\circ = 138^\circ ;\Rightarrow; \mathrm{#33DD66} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 4.09:1\ \text{(on white)} \]#DD33AA in every colour format
| Format | Value |
|---|---|
| HEX | #DD33AA |
| RGB | rgb(221, 51, 170) |
| RGB (percent) | rgb(86.7%, 20.0%, 66.7%) |
| HSL | hsl(318, 71%, 53%) |
| HSV / HSB | hsv(318, 77%, 87%) |
| CMYK | cmyk(0%, 77%, 23%, 13%) |
| Decimal | 14496682 |
| 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 | 4.09:1 | fail | pass | fail | fail |
| Black text | 5.13:1 | pass | pass | fail | pass |
Shades and tints
| Kind | Hex codes (darkest to lightest) |
|---|---|
| Shades (mixed with black) | #25081C #4A1139 #6F1A55 #932271 #B82B8E |
| This colour | #DD33AA |
| Tints (mixed with white) | #E355B8 #E877C6 #EE99D5 #F4BBE3 #F9DDF1 |
How it looks with colour blindness
| Type | Hex | Distance from the original |
|---|---|---|
| Protanopia | #476CAD | 68 |
| Deuteranopia | #7C87A6 | 71 |
| Tritanopia | #EB336B | 39 |
| Grayscale | #7D7D7D | - |
Nearest named colours
| Name | Hex |
|---|---|
| Medium violet red | #C71585 |
| Hot pink | #FF69B4 |
| Deep pink | #FF1493 |
| Orchid | #DA70D6 |
Questions
What is the RGB value of #DD33AA?
rgb(221, 51, 170): red 221, green 51, blue 170.
What is the HSL value of #DD33AA?
hsl(318, 71%, 53%): a hue of 318°, 71% saturation and 53% lightness.
What is the complementary colour of #DD33AA?
#33DD66, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #22CC55.
Should I use white or black text on #DD33AA?
Black. White gives 4.09:1 and black 5.13:1; the better one passes WCAG AA for normal text.
What is the CMYK value of #DD33AA?
cmyk(0%, 77%, 23%, 13%). This is a simple formula conversion; printed colours depend on the printer profile.
What is the closest named colour to #DD33AA?
Medium violet red (#C71585).