#b152ae
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 | #b152ae | |
| RGB | rgb(177 82 174) | |
| HSL | hsl(301.89 37.85% 50.78%) | |
| OKLCH | oklch(0.59 0.17 328.65) | |
| CMYK | cmyk(0% 53.67% 1.69% 30.59%) | |
| Android | #ffb152ae |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.47:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.68:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#b152ae"
Gradient stop
<stop stop-color="#b152ae"/>
CSS variable + fill
:root { --c: #b152ae; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b152ae; background-color: #b152ae; bg-[#b152ae]