#DDCCDD color
#DDCCDD is a light grayish pink colour. It is rgb(221, 204, 221) in RGB and hsl(300, 20%, 83%) in HSL. Text in black reads better on it: the contrast is 13.76:1 against black and 1.53: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{#DDCCDD}:\quad R=\mathrm{DD}_{16}=221,\ G=\mathrm{CC}_{16}=204,\ B=\mathrm{DD}_{16}=221 - 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.
300^\circ + 180^\circ = 120^\circ ;\Rightarrow; \mathrm{#CCDDCC} - 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{#DDCCDD} = \mathrm{rgb}(221, 204, 221) \]
\[ \mathrm{#DDCCDD}:\quad R=\mathrm{DD}_{16}=221,\ G=\mathrm{CC}_{16}=204,\ B=\mathrm{DD}_{16}=221 \]
\[ H=300^\circ,\quad S=20\%,\quad L=83\% \]
\[ 300^\circ + 180^\circ = 120^\circ ;\Rightarrow; \mathrm{#CCDDCC} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 1.53:1\ \text{(on white)} \]#DDCCDD in every colour format
| Format | Value |
|---|---|
| HEX | #DDCCDD |
| RGB | rgb(221, 204, 221) |
| RGB (percent) | rgb(86.7%, 80.0%, 86.7%) |
| HSL | hsl(300, 20%, 83%) |
| HSV / HSB | hsv(300, 8%, 87%) |
| CMYK | cmyk(0%, 8%, 0%, 13%) |
| Decimal | 14535901 |
| Description | light grayish 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 | 1.53:1 | fail | fail | fail | fail |
| Black text | 13.76:1 | pass | pass | pass | pass |
Shades and tints
| Kind | Hex codes (darkest to lightest) |
|---|---|
| Shades (mixed with black) | #252225 #4A444A #6F666F #938893 #B8AAB8 |
| This colour | #DDCCDD |
| Tints (mixed with white) | #E3D5E3 #E8DDE8 #EEE6EE #F4EEF4 #F9F7F9 |
How it looks with colour blindness
| Type | Hex | Distance from the original |
|---|---|---|
| Protanopia | #CBD0DE | 8 |
| Deuteranopia | #CED2DC | 8 |
| Tritanopia | #DECDD1 | 7 |
| Grayscale | #D1D1D1 | - |
Nearest named colours
| Name | Hex |
|---|---|
| Thistle | #D8BFD8 |
| Lavender | #E6E6FA |
| Light gray | #D3D3D3 |
| Gainsboro | #DCDCDC |
Questions
What is the RGB value of #DDCCDD?
rgb(221, 204, 221): red 221, green 204, blue 221.
What is the HSL value of #DDCCDD?
hsl(300, 20%, 83%): a hue of 300°, 20% saturation and 83% lightness.
What is the complementary colour of #DDCCDD?
#CCDDCC, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #223322.
Should I use white or black text on #DDCCDD?
Black. White gives 1.53:1 and black 13.76:1; the better one passes WCAG AA for normal text.
What is the CMYK value of #DDCCDD?
cmyk(0%, 8%, 0%, 13%). This is a simple formula conversion; printed colours depend on the printer profile.
What is the closest named colour to #DDCCDD?
Thistle (#D8BFD8).