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