#f24495
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 | #f24495 | |
| RGB | rgb(242 68 149) | |
| HSL | hsl(332.07 87% 60.78%) | |
| OKLCH | oklch(0.66 0.22 356.65) | |
| CMYK | cmyk(0% 71.9% 38.43% 5.1%) | |
| Android | #fff24495 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.47:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.03: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="#f24495"
Gradient stop
<stop stop-color="#f24495"/>
CSS variable + fill
:root { --c: #f24495; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f24495; background-color: #f24495; bg-[#f24495]