#d173ba
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 | #d173ba | |
| RGB | rgb(209 115 186) | |
| HSL | hsl(314.68 50.54% 63.53%) | |
| OKLCH | oklch(0.68 0.15 336.95) | |
| CMYK | cmyk(0% 44.98% 11% 18.04%) | |
| Android | #ffd173ba |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.05:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.87: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="#d173ba"
Gradient stop
<stop stop-color="#d173ba"/>
CSS variable + fill
:root { --c: #d173ba; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d173ba; background-color: #d173ba; bg-[#d173ba]