#f0945c
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 | #f0945c | |
| RGB | rgb(240 148 92) | |
| HSL | hsl(22.7 83.15% 65.1%) | |
| OKLCH | oklch(0.75 0.13 50.91) | |
| CMYK | cmyk(0% 38.33% 61.67% 5.88%) | |
| Android | #fff0945c |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.30:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.09: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="#f0945c"
Gradient stop
<stop stop-color="#f0945c"/>
CSS variable + fill
:root { --c: #f0945c; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f0945c; background-color: #f0945c; bg-[#f0945c]