#f780ea
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 | #f780ea | |
| RGB | rgb(247 128 234) | |
| HSL | hsl(306.55 88.15% 73.53%) | |
| OKLCH | oklch(0.77 0.19 331.47) | |
| CMYK | cmyk(0% 48.18% 5.26% 3.14%) | |
| Android | #fff780ea |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.27:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.23: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="#f780ea"
Gradient stop
<stop stop-color="#f780ea"/>
CSS variable + fill
:root { --c: #f780ea; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f780ea; background-color: #f780ea; bg-[#f780ea]