#f98ddd
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 | #f98ddd | |
| RGB | rgb(249 141 221) | |
| HSL | hsl(315.56 90% 76.47%) | |
| OKLCH | oklch(0.78 0.16 337.51) | |
| CMYK | cmyk(0% 43.37% 11.24% 2.35%) | |
| Android | #fff98ddd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.12:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.88: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="#f98ddd"
Gradient stop
<stop stop-color="#f98ddd"/>
CSS variable + fill
:root { --c: #f98ddd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f98ddd; background-color: #f98ddd; bg-[#f98ddd]