#ef38d6
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 | #ef38d6 | |
| RGB | rgb(239 56 214) | |
| HSL | hsl(308.2 85.12% 57.84%) | |
| OKLCH | oklch(0.67 0.26 334.51) | |
| CMYK | cmyk(0% 76.57% 10.46% 6.27%) | |
| Android | #ffef38d6 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.38:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.20: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="#ef38d6"
Gradient stop
<stop stop-color="#ef38d6"/>
CSS variable + fill
:root { --c: #ef38d6; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ef38d6; background-color: #ef38d6; bg-[#ef38d6]