#f0451d
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 | #f0451d | |
| RGB | rgb(240 69 29) | |
| HSL | hsl(11.37 87.55% 52.75%) | |
| OKLCH | oklch(0.64 0.21 33.88) | |
| CMYK | cmyk(0% 71.25% 87.92% 5.88%) | |
| Android | #fff0451d |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.76:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.57: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="#f0451d"
Gradient stop
<stop stop-color="#f0451d"/>
CSS variable + fill
:root { --c: #f0451d; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f0451d; background-color: #f0451d; bg-[#f0451d]