#b028a2
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 | #b028a2 | |
| RGB | rgb(176 40 162) | |
| HSL | hsl(306.18 62.96% 42.35%) | |
| OKLCH | oklch(0.54 0.21 332.82) | |
| CMYK | cmyk(0% 77.27% 7.95% 30.98%) | |
| Android | #ffb028a2 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.72:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.67: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="#b028a2"
Gradient stop
<stop stop-color="#b028a2"/>
CSS variable + fill
:root { --c: #b028a2; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b028a2; background-color: #b028a2; bg-[#b028a2]