#d91fb2
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 | #d91fb2 | |
| RGB | rgb(217 31 178) | |
| HSL | hsl(312.58 75% 48.63%) | |
| OKLCH | oklch(0.61 0.25 339.18) | |
| CMYK | cmyk(0% 85.71% 17.97% 14.9%) | |
| Android | #ffd91fb2 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.38:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.78: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="#d91fb2"
Gradient stop
<stop stop-color="#d91fb2"/>
CSS variable + fill
:root { --c: #d91fb2; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d91fb2; background-color: #d91fb2; bg-[#d91fb2]