#bf309d
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 | #bf309d | |
| RGB | rgb(191 48 157) | |
| HSL | hsl(314.27 59.83% 46.86%) | |
| OKLCH | oklch(0.57 0.21 339.46) | |
| CMYK | cmyk(0% 74.87% 17.8% 25.1%) | |
| Android | #ffbf309d |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.09:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.12: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="#bf309d"
Gradient stop
<stop stop-color="#bf309d"/>
CSS variable + fill
:root { --c: #bf309d; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #bf309d; background-color: #bf309d; bg-[#bf309d]