#DD00CC color
#DD00CC is a vivid pink colour. It is rgb(221, 0, 204) in RGB and hsl(305, 100%, 43%) in HSL. Text in black reads better on it: the contrast is 4.95:1 against black and 4.25: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{#DD00CC}:\quad R=\mathrm{DD}_{16}=221,\ G=\mathrm{00}_{16}=0,\ 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.
305^\circ + 180^\circ = 125^\circ ;\Rightarrow; \mathrm{#00DD11} - 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{#DD00CC} = \mathrm{rgb}(221, 0, 204) \]
\[ \mathrm{#DD00CC}:\quad R=\mathrm{DD}_{16}=221,\ G=\mathrm{00}_{16}=0,\ B=\mathrm{CC}_{16}=204 \]
\[ H=305^\circ,\quad S=100\%,\quad L=43\% \]
\[ 305^\circ + 180^\circ = 125^\circ ;\Rightarrow; \mathrm{#00DD11} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 4.25:1\ \text{(on white)} \]#DD00CC in every colour format
| Format | Value |
|---|---|
| HEX | #DD00CC |
| RGB | rgb(221, 0, 204) |
| RGB (percent) | rgb(86.7%, 0.0%, 80.0%) |
| HSL | hsl(305, 100%, 43%) |
| HSV / HSB | hsv(305, 100%, 87%) |
| CMYK | cmyk(0%, 100%, 8%, 13%) |
| Decimal | 14483660 |
| 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.25:1 | fail | pass | fail | fail |
| Black text | 4.95:1 | pass | pass | fail | pass |
Shades and tints
| Kind | Hex codes (darkest to lightest) |
|---|---|
| Shades (mixed with black) | #250022 #4A0044 #6F0066 #930088 #B800AA |
| This colour | #DD00CC |
| Tints (mixed with white) | #E32BD5 #E855DD #EE80E6 #F4AAEE #F9D5F7 |
How it looks with colour blindness
| Type | Hex | Distance from the original |
|---|---|---|
| Protanopia | #006AD0 | 73 |
| Deuteranopia | #6484C8 | 79 |
| Tritanopia | #E73278 | 54 |
| Grayscale | #7B7B7B | - |
Nearest named colours
| Name | Hex |
|---|---|
| Fuchsia | #FF00FF |
| Dark orchid | #9932CC |
| Medium orchid | #BA55D3 |
| Dark violet | #9400D3 |
Questions
What is the RGB value of #DD00CC?
rgb(221, 0, 204): red 221, green 0, blue 204.
What is the HSL value of #DD00CC?
hsl(305, 100%, 43%): a hue of 305°, 100% saturation and 43% lightness.
What is the complementary colour of #DD00CC?
#00DD11, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #22FF33.
Should I use white or black text on #DD00CC?
Black. White gives 4.25:1 and black 4.95:1; the better one passes WCAG AA for normal text.
What is the CMYK value of #DD00CC?
cmyk(0%, 100%, 8%, 13%). This is a simple formula conversion; printed colours depend on the printer profile.
What is the closest named colour to #DD00CC?
Fuchsia (#FF00FF).