#f281da
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 | #f281da | |
| RGB | rgb(242 129 218) | |
| HSL | hsl(312.74 81.29% 72.75%) | |
| OKLCH | oklch(0.76 0.17 335.7) | |
| CMYK | cmyk(0% 46.69% 9.92% 5.1%) | |
| Android | #fff281da |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.35:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.92: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="#f281da"
Gradient stop
<stop stop-color="#f281da"/>
CSS variable + fill
:root { --c: #f281da; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f281da; background-color: #f281da; bg-[#f281da]