#f875df
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 | #f875df | |
| RGB | rgb(248 117 223) | |
| HSL | hsl(311.45 90.34% 71.57%) | |
| OKLCH | oklch(0.75 0.2 335.24) | |
| CMYK | cmyk(0% 52.82% 10.08% 2.75%) | |
| Android | #fff875df |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.44:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.60: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="#f875df"
Gradient stop
<stop stop-color="#f875df"/>
CSS variable + fill
:root { --c: #f875df; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f875df; background-color: #f875df; bg-[#f875df]