#db49b2
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 | #db49b2 | |
| RGB | rgb(219 73 178) | |
| HSL | hsl(316.85 66.97% 57.25%) | |
| OKLCH | oklch(0.64 0.21 340.87) | |
| CMYK | cmyk(0% 66.67% 18.72% 14.12%) | |
| Android | #ffdb49b2 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.74:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.60: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="#db49b2"
Gradient stop
<stop stop-color="#db49b2"/>
CSS variable + fill
:root { --c: #db49b2; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #db49b2; background-color: #db49b2; bg-[#db49b2]