#fa51e7
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 | #fa51e7 | |
| RGB | rgb(250 81 231) | |
| HSL | hsl(306.75 94.41% 64.9%) | |
| OKLCH | oklch(0.72 0.26 332.79) | |
| CMYK | cmyk(0% 67.6% 7.6% 1.96%) | |
| Android | #fffa51e7 |
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="#fa51e7"
Gradient stop
<stop stop-color="#fa51e7"/>
CSS variable + fill
:root { --c: #fa51e7; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #fa51e7; background-color: #fa51e7; bg-[#fa51e7]