#db28a4
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 | #db28a4 | |
| RGB | rgb(219 40 164) | |
| HSL | hsl(318.44 71.31% 50.78%) | |
| OKLCH | oklch(0.61 0.24 344.36) | |
| CMYK | cmyk(0% 81.74% 25.11% 14.12%) | |
| Android | #ffdb28a4 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.32:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.85: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="#db28a4"
Gradient stop
<stop stop-color="#db28a4"/>
CSS variable + fill
:root { --c: #db28a4; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #db28a4; background-color: #db28a4; bg-[#db28a4]