#f980dd
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 | #f980dd | |
| RGB | rgb(249 128 221) | |
| HSL | hsl(313.88 90.98% 73.92%) | |
| OKLCH | oklch(0.77 0.18 336.71) | |
| CMYK | cmyk(0% 48.59% 11.24% 2.35%) | |
| Android | #fff980dd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.29:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.15: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="#f980dd"
Gradient stop
<stop stop-color="#f980dd"/>
CSS variable + fill
:root { --c: #f980dd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f980dd; background-color: #f980dd; bg-[#f980dd]