#b50a8a
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 | #b50a8a | |
| RGB | rgb(181 10 138) | |
| HSL | hsl(315.09 89.53% 37.45%) | |
| OKLCH | oklch(0.52 0.22 342.68) | |
| CMYK | cmyk(0% 94.48% 23.76% 29.02%) | |
| Android | #ffb50a8a |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.22:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.37: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="#b50a8a"
Gradient stop
<stop stop-color="#b50a8a"/>
CSS variable + fill
:root { --c: #b50a8a; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b50a8a; background-color: #b50a8a; bg-[#b50a8a]