#b42880
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 | #b42880 | |
| RGB | rgb(180 40 128) | |
| HSL | hsl(322.29 63.64% 43.14%) | |
| OKLCH | oklch(0.53 0.19 347.39) | |
| CMYK | cmyk(0% 77.78% 28.89% 29.41%) | |
| Android | #ffb42880 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.90:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.55: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="#b42880"
Gradient stop
<stop stop-color="#b42880"/>
CSS variable + fill
:root { --c: #b42880; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b42880; background-color: #b42880; bg-[#b42880]