#de45f5
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 | #de45f5 | |
| RGB | rgb(222 69 245) | |
| HSL | hsl(292.16 89.8% 61.57%) | |
| OKLCH | oklch(0.68 0.27 322.1) | |
| CMYK | cmyk(9.39% 71.84% 0% 3.92%) | |
| Android | #ffde45f5 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.34:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.27: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="#de45f5"
Gradient stop
<stop stop-color="#de45f5"/>
CSS variable + fill
:root { --c: #de45f5; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #de45f5; background-color: #de45f5; bg-[#de45f5]