#ea4af8
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 | #ea4af8 | |
| RGB | rgb(234 74 248) | |
| HSL | hsl(295.17 92.55% 63.14%) | |
| OKLCH | oklch(0.7 0.27 324.45) | |
| CMYK | cmyk(5.65% 70.16% 0% 2.75%) | |
| Android | #ffea4af8 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.07:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.83: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="#ea4af8"
Gradient stop
<stop stop-color="#ea4af8"/>
CSS variable + fill
:root { --c: #ea4af8; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ea4af8; background-color: #ea4af8; bg-[#ea4af8]