#dd20d7
Codes, contrast, shades, harmonies and SVG snippets for this color.
- Codes
- Names & lists
- Contrast
- Shades & tints
- Harmonies
- Color-blindness
- SVG snippets
- CSS
- Related colors
Codes
| Format | Value | |
|---|---|---|
| HEX | #dd20d7 | |
| RGB | rgb(221 32 215) | |
| HSL | hsl(301.9 74.7% 49.61%) | |
| OKLCH | oklch(0.63 0.27 329.78) | |
| CMYK | cmyk(0% 85.52% 2.71% 13.33%) | |
| Android | #ffdd20d7 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.99:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.26:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#dd20d7"
Gradient stop
<stop stop-color="#dd20d7"/>
CSS variable + fill
:root { --c: #dd20d7; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #dd20d7; background-color: #dd20d7; bg-[#dd20d7]