#ef8fe5
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 | #ef8fe5 | |
| RGB | rgb(239 143 229) | |
| HSL | hsl(306.25 75% 74.9%) | |
| OKLCH | oklch(0.78 0.16 330.8) | |
| CMYK | cmyk(0% 40.17% 4.18% 6.27%) | |
| Android | #ffef8fe5 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.15:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.73: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="#ef8fe5"
Gradient stop
<stop stop-color="#ef8fe5"/>
CSS variable + fill
:root { --c: #ef8fe5; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ef8fe5; background-color: #ef8fe5; bg-[#ef8fe5]