#b840af
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 | #b840af | |
| RGB | rgb(184 64 175) | |
| HSL | hsl(304.5 48.39% 48.63%) | |
| OKLCH | oklch(0.58 0.2 330.93) | |
| CMYK | cmyk(0% 65.22% 4.89% 27.84%) | |
| Android | #ffb840af |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.78:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.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="#b840af"
Gradient stop
<stop stop-color="#b840af"/>
CSS variable + fill
:root { --c: #b840af; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b840af; background-color: #b840af; bg-[#b840af]