#b45178
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 | #b45178 | |
| RGB | rgb(180 81 120) | |
| HSL | hsl(336.36 39.76% 51.18%) | |
| OKLCH | oklch(0.57 0.13 357.49) | |
| CMYK | cmyk(0% 55% 33.33% 29.41%) | |
| Android | #ffb45178 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.78:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.38: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="#b45178"
Gradient stop
<stop stop-color="#b45178"/>
CSS variable + fill
:root { --c: #b45178; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b45178; background-color: #b45178; bg-[#b45178]