#f247ef
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 | #f247ef | |
| RGB | rgb(242 71 239) | |
| HSL | hsl(301.05 86.8% 61.37%) | |
| OKLCH | oklch(0.7 0.27 328.74) | |
| CMYK | cmyk(0% 70.66% 1.24% 5.1%) | |
| Android | #fff247ef |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.03:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.92: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="#f247ef"
Gradient stop
<stop stop-color="#f247ef"/>
CSS variable + fill
:root { --c: #f247ef; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f247ef; background-color: #f247ef; bg-[#f247ef]