#db7faf
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 | #db7faf | |
| RGB | rgb(219 127 175) | |
| HSL | hsl(328.7 56.1% 67.84%) | |
| OKLCH | oklch(0.71 0.13 348.25) | |
| CMYK | cmyk(0% 42.01% 20.09% 14.12%) | |
| Android | #ffdb7faf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.73:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.66: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="#db7faf"
Gradient stop
<stop stop-color="#db7faf"/>
CSS variable + fill
:root { --c: #db7faf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #db7faf; background-color: #db7faf; bg-[#db7faf]