#d780ba
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 | #d780ba | |
| RGB | rgb(215 128 186) | |
| HSL | hsl(320 52.1% 67.25%) | |
| OKLCH | oklch(0.71 0.13 340.65) | |
| CMYK | cmyk(0% 40.47% 13.49% 15.69%) | |
| Android | #ffd780ba |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.73:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.68: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="#d780ba"
Gradient stop
<stop stop-color="#d780ba"/>
CSS variable + fill
:root { --c: #d780ba; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d780ba; background-color: #d780ba; bg-[#d780ba]