#ff8df7
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 | #ff8df7 | |
| RGB | rgb(255 141 247) | |
| HSL | hsl(304.21 100% 77.65%) | |
| OKLCH | oklch(0.8 0.19 329.76) | |
| CMYK | cmyk(0% 44.71% 3.14% 0%) | |
| Android | #ffff8df7 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.01:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
10.40: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="#ff8df7"
Gradient stop
<stop stop-color="#ff8df7"/>
CSS variable + fill
:root { --c: #ff8df7; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ff8df7; background-color: #ff8df7; bg-[#ff8df7]