#dd217b
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 | #dd217b | |
| RGB | rgb(221 33 123) | |
| HSL | hsl(331.28 74.02% 49.8%) | |
| OKLCH | oklch(0.59 0.22 359.05) | |
| CMYK | cmyk(0% 85.07% 44.34% 13.33%) | |
| Android | #ffdd217b |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.58:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.57:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #ffffff
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#dd217b"
Gradient stop
<stop stop-color="#dd217b"/>
CSS variable + fill
:root { --c: #dd217b; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #dd217b; background-color: #dd217b; bg-[#dd217b]