#f8a0eb
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 | #f8a0eb | |
| RGB | rgb(248 160 235) | |
| HSL | hsl(308.86 86.27% 80%) | |
| OKLCH | oklch(0.82 0.14 332.21) | |
| CMYK | cmyk(0% 35.48% 5.24% 2.75%) | |
| Android | #fff8a0eb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.87:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
11.21: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="#f8a0eb"
Gradient stop
<stop stop-color="#f8a0eb"/>
CSS variable + fill
:root { --c: #f8a0eb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f8a0eb; background-color: #f8a0eb; bg-[#f8a0eb]