#de28d5
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 | #de28d5 | |
| RGB | rgb(222 40 213) | |
| HSL | hsl(302.97 73.39% 51.37%) | |
| OKLCH | oklch(0.64 0.27 330.53) | |
| CMYK | cmyk(0% 81.98% 4.05% 12.94%) | |
| Android | #ffde28d5 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.91:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.37: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="#de28d5"
Gradient stop
<stop stop-color="#de28d5"/>
CSS variable + fill
:root { --c: #de28d5; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #de28d5; background-color: #de28d5; bg-[#de28d5]