#d951bf
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 | #d951bf | |
| RGB | rgb(217 81 191) | |
| HSL | hsl(311.47 64.15% 58.43%) | |
| OKLCH | oklch(0.65 0.21 336.03) | |
| CMYK | cmyk(0% 62.67% 11.98% 14.9%) | |
| Android | #ffd951bf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.57:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.87: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="#d951bf"
Gradient stop
<stop stop-color="#d951bf"/>
CSS variable + fill
:root { --c: #d951bf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d951bf; background-color: #d951bf; bg-[#d951bf]