#db3ec7
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 | #db3ec7 | |
| RGB | rgb(219 62 199) | |
| HSL | hsl(307.64 68.56% 55.1%) | |
| OKLCH | oklch(0.64 0.24 333.71) | |
| CMYK | cmyk(0% 71.69% 9.13% 14.12%) | |
| Android | #ffdb3ec7 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.80:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.52: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="#db3ec7"
Gradient stop
<stop stop-color="#db3ec7"/>
CSS variable + fill
:root { --c: #db3ec7; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #db3ec7; background-color: #db3ec7; bg-[#db3ec7]