#bb258a
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 | #bb258a | |
| RGB | rgb(187 37 138) | |
| HSL | hsl(319.6 66.96% 43.92%) | |
| OKLCH | oklch(0.54 0.21 345.14) | |
| CMYK | cmyk(0% 80.21% 26.2% 26.67%) | |
| Android | #ffbb258a |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.60:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.74: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="#bb258a"
Gradient stop
<stop stop-color="#bb258a"/>
CSS variable + fill
:root { --c: #bb258a; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #bb258a; background-color: #bb258a; bg-[#bb258a]