#b198bc
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 | #b198bc | |
| RGB | rgb(177 152 188) | |
| HSL | hsl(281.67 21.18% 66.67%) | |
| OKLCH | oklch(0.71 0.06 315.51) | |
| CMYK | cmyk(5.85% 19.15% 0% 26.27%) | |
| Android | #ffb198bc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.59:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.08: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="#b198bc"
Gradient stop
<stop stop-color="#b198bc"/>
CSS variable + fill
:root { --c: #b198bc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b198bc; background-color: #b198bc; bg-[#b198bc]