#dd28c4
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 | #dd28c4 | |
| RGB | rgb(221 40 196) | |
| HSL | hsl(308.29 72.69% 51.18%) | |
| OKLCH | oklch(0.63 0.26 334.95) | |
| CMYK | cmyk(0% 81.9% 11.31% 13.33%) | |
| Android | #ffdd28c4 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.05:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.17: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="#dd28c4"
Gradient stop
<stop stop-color="#dd28c4"/>
CSS variable + fill
:root { --c: #dd28c4; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #dd28c4; background-color: #dd28c4; bg-[#dd28c4]