#fb817f
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 | #fb817f | |
| RGB | rgb(251 129 127) | |
| HSL | hsl(0.97 93.94% 74.12%) | |
| OKLCH | oklch(0.74 0.15 22.31) | |
| CMYK | cmyk(0% 48.61% 49.4% 1.57%) | |
| Android | #fffb817f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.45:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.54: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="#fb817f"
Gradient stop
<stop stop-color="#fb817f"/>
CSS variable + fill
:root { --c: #fb817f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #fb817f; background-color: #fb817f; bg-[#fb817f]