#d166ba
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 | #d166ba | |
| RGB | rgb(209 102 186) | |
| HSL | hsl(312.9 53.77% 60.98%) | |
| OKLCH | oklch(0.66 0.17 336.15) | |
| CMYK | cmyk(0% 51.2% 11% 18.04%) | |
| Android | #ffd166ba |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.32:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.32: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="#d166ba"
Gradient stop
<stop stop-color="#d166ba"/>
CSS variable + fill
:root { --c: #d166ba; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d166ba; background-color: #d166ba; bg-[#d166ba]