#db4cf6
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 | #db4cf6 | |
| RGB | rgb(219 76 246) | |
| HSL | hsl(290.47 90.43% 63.14%) | |
| OKLCH | oklch(0.68 0.26 320.83) | |
| CMYK | cmyk(10.98% 69.11% 0% 3.53%) | |
| Android | #ffdb4cf6 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.29:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.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="#db4cf6"
Gradient stop
<stop stop-color="#db4cf6"/>
CSS variable + fill
:root { --c: #db4cf6; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #db4cf6; background-color: #db4cf6; bg-[#db4cf6]