#db2788
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 | #db2788 | |
| RGB | rgb(219 39 136) | |
| HSL | hsl(327.67 71.43% 50.59%) | |
| OKLCH | oklch(0.6 0.22 354.18) | |
| CMYK | cmyk(0% 82.19% 37.9% 14.12%) | |
| Android | #ffdb2788 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.50:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.65: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="#db2788"
Gradient stop
<stop stop-color="#db2788"/>
CSS variable + fill
:root { --c: #db2788; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #db2788; background-color: #db2788; bg-[#db2788]