#b45aba
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 | #b45aba | |
| RGB | rgb(180 90 186) | |
| HSL | hsl(296.25 41.03% 54.12%) | |
| OKLCH | oklch(0.61 0.17 325) | |
| CMYK | cmyk(3.23% 51.61% 0% 27.06%) | |
| Android | #ffb45aba |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.10:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.11: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="#b45aba"
Gradient stop
<stop stop-color="#b45aba"/>
CSS variable + fill
:root { --c: #b45aba; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b45aba; background-color: #b45aba; bg-[#b45aba]