#b45271
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 | #b45271 | |
| RGB | rgb(180 82 113) | |
| HSL | hsl(341.02 39.52% 51.37%) | |
| OKLCH | oklch(0.57 0.13 2.22) | |
| CMYK | cmyk(0% 54.44% 37.22% 29.41%) | |
| Android | #ffb45271 |
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="#b45271"
Gradient stop
<stop stop-color="#b45271"/>
CSS variable + fill
:root { --c: #b45271; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b45271; background-color: #b45271; bg-[#b45271]