#b71c8b
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 | #b71c8b | |
| RGB | rgb(183 28 139) | |
| HSL | hsl(317.03 73.46% 41.37%) | |
| OKLCH | oklch(0.53 0.21 343.26) | |
| CMYK | cmyk(0% 84.7% 24.04% 28.24%) | |
| Android | #ffb71c8b |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.91:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.55: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="#b71c8b"
Gradient stop
<stop stop-color="#b71c8b"/>
CSS variable + fill
:root { --c: #b71c8b; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b71c8b; background-color: #b71c8b; bg-[#b71c8b]