#b1007f
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 | #b1007f | |
| RGB | rgb(177 0 127) | |
| HSL | hsl(316.95 100% 34.71%) | |
| OKLCH | oklch(0.51 0.21 345.57) | |
| CMYK | cmyk(0% 100% 28.25% 30.59%) | |
| Android | #ffb1007f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.61:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.17:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#b1007f"
Gradient stop
<stop stop-color="#b1007f"/>
CSS variable + fill
:root { --c: #b1007f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b1007f; background-color: #b1007f; bg-[#b1007f]