#f28ff3
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 | #f28ff3 | |
| RGB | rgb(242 143 243) | |
| HSL | hsl(299.4 80.65% 75.69%) | |
| OKLCH | oklch(0.79 0.17 326.7) | |
| CMYK | cmyk(0.41% 41.15% 0% 4.71%) | |
| Android | #fff28ff3 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.10:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.99: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="#f28ff3"
Gradient stop
<stop stop-color="#f28ff3"/>
CSS variable + fill
:root { --c: #f28ff3; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f28ff3; background-color: #f28ff3; bg-[#f28ff3]