#d178bf
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 | #d178bf | |
| RGB | rgb(209 120 191) | |
| HSL | hsl(312.13 49.17% 64.51%) | |
| OKLCH | oklch(0.69 0.14 334.9) | |
| CMYK | cmyk(0% 42.58% 8.61% 18.04%) | |
| Android | #ffd178bf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.93:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.14: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="#d178bf"
Gradient stop
<stop stop-color="#d178bf"/>
CSS variable + fill
:root { --c: #d178bf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d178bf; background-color: #d178bf; bg-[#d178bf]