#f87cea
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 | #f87cea | |
| RGB | rgb(248 124 234) | |
| HSL | hsl(306.77 89.86% 72.94%) | |
| OKLCH | oklch(0.76 0.2 331.73) | |
| CMYK | cmyk(0% 50% 5.65% 2.75%) | |
| Android | #fff87cea |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.31:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.06: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="#f87cea"
Gradient stop
<stop stop-color="#f87cea"/>
CSS variable + fill
:root { --c: #f87cea; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f87cea; background-color: #f87cea; bg-[#f87cea]