#f174cb
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 | #f174cb | |
| RGB | rgb(241 116 203) | |
| HSL | hsl(318.24 81.7% 70%) | |
| OKLCH | oklch(0.73 0.18 340.43) | |
| CMYK | cmyk(0% 51.87% 15.77% 5.49%) | |
| Android | #fff174cb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.59:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.10: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="#f174cb"
Gradient stop
<stop stop-color="#f174cb"/>
CSS variable + fill
:root { --c: #f174cb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f174cb; background-color: #f174cb; bg-[#f174cb]