#dd28ad
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 | #dd28ad | |
| RGB | rgb(221 40 173) | |
| HSL | hsl(315.91 72.69% 51.18%) | |
| OKLCH | oklch(0.62 0.24 341.91) | |
| CMYK | cmyk(0% 81.9% 21.72% 13.33%) | |
| Android | #ffdd28ad |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.21:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.98: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="#dd28ad"
Gradient stop
<stop stop-color="#dd28ad"/>
CSS variable + fill
:root { --c: #dd28ad; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #dd28ad; background-color: #dd28ad; bg-[#dd28ad]