#b50196
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 | #b50196 | |
| RGB | rgb(181 1 150) | |
| HSL | hsl(310.33 98.9% 35.69%) | |
| OKLCH | oklch(0.52 0.23 338.27) | |
| CMYK | cmyk(0% 99.45% 17.13% 29.02%) | |
| Android | #ffb50196 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.15:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.40: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="#b50196"
Gradient stop
<stop stop-color="#b50196"/>
CSS variable + fill
:root { --c: #b50196; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b50196; background-color: #b50196; bg-[#b50196]