#de04b4
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 | #de04b4 | |
| RGB | rgb(222 4 180) | |
| HSL | hsl(311.56 96.46% 44.31%) | |
| OKLCH | oklch(0.61 0.26 339.58) | |
| CMYK | cmyk(0% 98.2% 18.92% 12.94%) | |
| Android | #ffde04b4 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.39:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.78: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="#de04b4"
Gradient stop
<stop stop-color="#de04b4"/>
CSS variable + fill
:root { --c: #de04b4; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #de04b4; background-color: #de04b4; bg-[#de04b4]