#db3f97
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 | #db3f97 | |
| RGB | rgb(219 63 151) | |
| HSL | hsl(326.15 68.42% 55.29%) | |
| OKLCH | oklch(0.62 0.21 350.28) | |
| CMYK | cmyk(0% 71.23% 31.05% 14.12%) | |
| Android | #ffdb3f97 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.06:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.16: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="#db3f97"
Gradient stop
<stop stop-color="#db3f97"/>
CSS variable + fill
:root { --c: #db3f97; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #db3f97; background-color: #db3f97; bg-[#db3f97]