#f0686b
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 | #f0686b | |
| RGB | rgb(240 104 107) | |
| HSL | hsl(358.68 81.93% 67.45%) | |
| OKLCH | oklch(0.69 0.17 21.28) | |
| CMYK | cmyk(0% 56.67% 55.42% 5.88%) | |
| Android | #fff0686b |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.04:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.89: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="#f0686b"
Gradient stop
<stop stop-color="#f0686b"/>
CSS variable + fill
:root { --c: #f0686b; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f0686b; background-color: #f0686b; bg-[#f0686b]