#db107e
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 | #db107e | |
| RGB | rgb(219 16 126) | |
| HSL | hsl(327.49 86.38% 46.08%) | |
| OKLCH | oklch(0.58 0.23 356.76) | |
| CMYK | cmyk(0% 92.69% 42.47% 14.12%) | |
| Android | #ffdb107e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.78:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.38:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#db107e"
Gradient stop
<stop stop-color="#db107e"/>
CSS variable + fill
:root { --c: #db107e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #db107e; background-color: #db107e; bg-[#db107e]