#ef368d
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 | #ef368d | |
| RGB | rgb(239 54 141) | |
| HSL | hsl(331.78 85.25% 57.45%) | |
| OKLCH | oklch(0.64 0.23 357.65) | |
| CMYK | cmyk(0% 77.41% 41% 6.27%) | |
| Android | #ffef368d |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.76:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.58: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="#ef368d"
Gradient stop
<stop stop-color="#ef368d"/>
CSS variable + fill
:root { --c: #ef368d; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ef368d; background-color: #ef368d; bg-[#ef368d]