#f852eb
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 | #f852eb | |
| RGB | rgb(248 82 235) | |
| HSL | hsl(304.7 92.22% 64.71%) | |
| OKLCH | oklch(0.72 0.26 331.22) | |
| CMYK | cmyk(0% 66.94% 5.24% 2.75%) | |
| Android | #fff852eb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.83:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.39:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#f852eb"
Gradient stop
<stop stop-color="#f852eb"/>
CSS variable + fill
:root { --c: #f852eb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f852eb; background-color: #f852eb; bg-[#f852eb]