#b01299
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 | #b01299 | |
| RGB | rgb(176 18 153) | |
| HSL | hsl(308.73 81.44% 38.04%) | |
| OKLCH | oklch(0.52 0.22 335.84) | |
| CMYK | cmyk(0% 89.77% 13.07% 30.98%) | |
| Android | #ffb01299 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.19:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.39: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="#b01299"
Gradient stop
<stop stop-color="#b01299"/>
CSS variable + fill
:root { --c: #b01299; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b01299; background-color: #b01299; bg-[#b01299]