#DD2266 color
#DD2266 is a pink colour. It is rgb(221, 34, 102) in RGB and hsl(338, 73%, 50%) in HSL. Text in white reads better on it: the contrast is 4.67:1 against white and 4.50: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{#DD2266}:\quad R=\mathrm{DD}_{16}=221,\ G=\mathrm{22}_{16}=34,\ B=\mathrm{66}_{16}=102 - 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.
338^\circ + 180^\circ = 158^\circ ;\Rightarrow; \mathrm{#22DD99} - 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{#DD2266} = \mathrm{rgb}(221, 34, 102) \]
\[ \mathrm{#DD2266}:\quad R=\mathrm{DD}_{16}=221,\ G=\mathrm{22}_{16}=34,\ B=\mathrm{66}_{16}=102 \]
\[ H=338^\circ,\quad S=73\%,\quad L=50\% \]
\[ 338^\circ + 180^\circ = 158^\circ ;\Rightarrow; \mathrm{#22DD99} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 4.67:1\ \text{(on white)} \]#DD2266 in every colour format
| Format | Value |
|---|---|
| HEX | #DD2266 |
| RGB | rgb(221, 34, 102) |
| RGB (percent) | rgb(86.7%, 13.3%, 40.0%) |
| HSL | hsl(338, 73%, 50%) |
| HSV / HSB | hsv(338, 85%, 87%) |
| CMYK | cmyk(0%, 85%, 54%, 13%) |
| Decimal | 14492262 |
| 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.67:1 | pass | pass | fail | pass |
| Black text | 4.50:1 | fail | pass | fail | fail |
Shades and tints
| Kind | Hex codes (darkest to lightest) |
|---|---|
| Shades (mixed with black) | #250611 #4A0B22 #6F1133 #931744 #B81C55 |
| This colour | #DD2266 |
| Tints (mixed with white) | #E34780 #E86C99 #EE91B3 #F4B5CC #F9DAE6 |
How it looks with colour blindness
| Type | Hex | Distance from the original |
|---|---|---|
| Protanopia | #595D67 | 73 |
| Deuteranopia | #898162 | 74 |
| Tritanopia | #F10042 | 26 |
| Grayscale | #747474 | - |
Nearest named colours
| Name | Hex |
|---|---|
| Deep pink | #FF1493 |
| Crimson | #DC143C |
| Medium violet red | #C71585 |
| Hot pink | #FF69B4 |
Questions
What is the RGB value of #DD2266?
rgb(221, 34, 102): red 221, green 34, blue 102.
What is the HSL value of #DD2266?
hsl(338, 73%, 50%): a hue of 338°, 73% saturation and 50% lightness.
What is the complementary colour of #DD2266?
#22DD99, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #22DD99.
Should I use white or black text on #DD2266?
White. White gives 4.67:1 and black 4.50:1; the better one passes WCAG AA for normal text.
What is the CMYK value of #DD2266?
cmyk(0%, 85%, 54%, 13%). This is a simple formula conversion; printed colours depend on the printer profile.
What is the closest named colour to #DD2266?
Deep pink (#FF1493).