#ea9af2
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 | #ea9af2 | |
| RGB | rgb(234 154 242) | |
| HSL | hsl(294.55 77.19% 77.65%) | |
| OKLCH | oklch(0.8 0.15 323.62) | |
| CMYK | cmyk(3.31% 36.36% 0% 5.1%) | |
| Android | #ffea9af2 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.01:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
10.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="#ea9af2"
Gradient stop
<stop stop-color="#ea9af2"/>
CSS variable + fill
:root { --c: #ea9af2; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ea9af2; background-color: #ea9af2; bg-[#ea9af2]