#b008ba
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 | #b008ba | |
| RGB | rgb(176 8 186) | |
| HSL | hsl(296.63 91.75% 38.04%) | |
| OKLCH | oklch(0.54 0.25 325.37) | |
| CMYK | cmyk(5.38% 95.7% 0% 27.06%) | |
| Android | #ffb008ba |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.84:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.58: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="#b008ba"
Gradient stop
<stop stop-color="#b008ba"/>
CSS variable + fill
:root { --c: #b008ba; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b008ba; background-color: #b008ba; bg-[#b008ba]