#b9517e
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 | #b9517e | |
| RGB | rgb(185 81 126) | |
| HSL | hsl(334.04 42.62% 52.16%) | |
| OKLCH | oklch(0.58 0.14 355.37) | |
| CMYK | cmyk(0% 56.22% 31.89% 27.45%) | |
| Android | #ffb9517e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.62:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.54:1
Pass 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="#b9517e"
Gradient stop
<stop stop-color="#b9517e"/>
CSS variable + fill
:root { --c: #b9517e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b9517e; background-color: #b9517e; bg-[#b9517e]