#fa40ad
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 | #fa40ad | |
| RGB | rgb(250 64 173) | |
| HSL | hsl(324.84 94.9% 61.57%) | |
| OKLCH | oklch(0.68 0.24 349.64) | |
| CMYK | cmyk(0% 74.4% 30.8% 1.96%) | |
| Android | #fffa40ad |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.28:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.40: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="#fa40ad"
Gradient stop
<stop stop-color="#fa40ad"/>
CSS variable + fill
:root { --c: #fa40ad; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #fa40ad; background-color: #fa40ad; bg-[#fa40ad]