#fe7cfa
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 | #fe7cfa | |
| RGB | rgb(254 124 250) | |
| HSL | hsl(301.85 98.48% 74.12%) | |
| OKLCH | oklch(0.78 0.22 328.57) | |
| CMYK | cmyk(0% 51.18% 1.57% 0.39%) | |
| Android | #fffe7cfa |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.21:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.47: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="#fe7cfa"
Gradient stop
<stop stop-color="#fe7cfa"/>
CSS variable + fill
:root { --c: #fe7cfa; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #fe7cfa; background-color: #fe7cfa; bg-[#fe7cfa]