#b71b8a
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 | #b71b8a | |
| RGB | rgb(183 27 138) | |
| HSL | hsl(317.31 74.29% 41.18%) | |
| OKLCH | oklch(0.53 0.21 343.61) | |
| CMYK | cmyk(0% 85.25% 24.59% 28.24%) | |
| Android | #ffb71b8a |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.93:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.53: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="#b71b8a"
Gradient stop
<stop stop-color="#b71b8a"/>
CSS variable + fill
:root { --c: #b71b8a; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b71b8a; background-color: #b71b8a; bg-[#b71b8a]