#DD33CC color
#DD33CC is a pink colour. It is rgb(221, 51, 204) in RGB and hsl(306, 71%, 53%) in HSL. Text in black reads better on it: the contrast is 5.42:1 against black and 3.87: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{#DD33CC}:\quad R=\mathrm{DD}_{16}=221,\ G=\mathrm{33}_{16}=51,\ B=\mathrm{CC}_{16}=204 - 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.
306^\circ + 180^\circ = 126^\circ ;\Rightarrow; \mathrm{#33DD44} - 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{#DD33CC} = \mathrm{rgb}(221, 51, 204) \]
\[ \mathrm{#DD33CC}:\quad R=\mathrm{DD}_{16}=221,\ G=\mathrm{33}_{16}=51,\ B=\mathrm{CC}_{16}=204 \]
\[ H=306^\circ,\quad S=71\%,\quad L=53\% \]
\[ 306^\circ + 180^\circ = 126^\circ ;\Rightarrow; \mathrm{#33DD44} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 3.87:1\ \text{(on white)} \]#DD33CC in every colour format
| Format | Value |
|---|---|
| HEX | #DD33CC |
| RGB | rgb(221, 51, 204) |
| RGB (percent) | rgb(86.7%, 20.0%, 80.0%) |
| HSL | hsl(306, 71%, 53%) |
| HSV / HSB | hsv(306, 77%, 87%) |
| CMYK | cmyk(0%, 77%, 8%, 13%) |
| Decimal | 14496716 |
| 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 | 3.87:1 | fail | pass | fail | fail |
| Black text | 5.42:1 | pass | pass | fail | pass |
Shades and tints
| Kind | Hex codes (darkest to lightest) |
|---|---|
| Shades (mixed with black) | #250822 #4A1144 #6F1A66 #932288 #B82BAA |
| This colour | #DD33CC |
| Tints (mixed with white) | #E355D5 #E877DD #EE99E6 #F4BBEE #F9DDF7 |
How it looks with colour blindness
| Type | Hex | Distance from the original |
|---|---|---|
| Protanopia | #2872D0 | 68 |
| Deuteranopia | #6E8AC8 | 72 |
| Tritanopia | #E7477E | 49 |
| Grayscale | #818181 | - |
Nearest named colours
| Name | Hex |
|---|---|
| Medium orchid | #BA55D3 |
| Dark orchid | #9932CC |
| Orchid | #DA70D6 |
| Dark magenta | #8B008B |
Questions
What is the RGB value of #DD33CC?
rgb(221, 51, 204): red 221, green 51, blue 204.
What is the HSL value of #DD33CC?
hsl(306, 71%, 53%): a hue of 306°, 71% saturation and 53% lightness.
What is the complementary colour of #DD33CC?
#33DD44, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #22CC33.
Should I use white or black text on #DD33CC?
Black. White gives 3.87:1 and black 5.42:1; the better one passes WCAG AA for normal text.
What is the CMYK value of #DD33CC?
cmyk(0%, 77%, 8%, 13%). This is a simple formula conversion; printed colours depend on the printer profile.
What is the closest named colour to #DD33CC?
Medium orchid (#BA55D3).