#b7028e
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 | #b7028e | |
| RGB | rgb(183 2 142) | |
| HSL | hsl(313.59 97.84% 36.27%) | |
| OKLCH | oklch(0.52 0.23 341.69) | |
| CMYK | cmyk(0% 98.91% 22.4% 28.24%) | |
| Android | #ffb7028e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.15:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.41: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="#b7028e"
Gradient stop
<stop stop-color="#b7028e"/>
CSS variable + fill
:root { --c: #b7028e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b7028e; background-color: #b7028e; bg-[#b7028e]