#b045af
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 | #b045af | |
| RGB | rgb(176 69 175) | |
| HSL | hsl(300.56 43.67% 48.04%) | |
| OKLCH | oklch(0.57 0.19 328.05) | |
| CMYK | cmyk(0% 60.8% 0.57% 30.98%) | |
| Android | #ffb045af |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.86:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.31: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="#b045af"
Gradient stop
<stop stop-color="#b045af"/>
CSS variable + fill
:root { --c: #b045af; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b045af; background-color: #b045af; bg-[#b045af]