#d787bc
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 | #d787bc | |
| RGB | rgb(215 135 188) | |
| HSL | hsl(320.25 50% 68.63%) | |
| OKLCH | oklch(0.72 0.12 340.53) | |
| CMYK | cmyk(0% 37.21% 12.56% 15.69%) | |
| Android | #ffd787bc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.59:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.08: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="#d787bc"
Gradient stop
<stop stop-color="#d787bc"/>
CSS variable + fill
:root { --c: #d787bc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d787bc; background-color: #d787bc; bg-[#d787bc]