#ff4040
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 | #ff4040 | |
| RGB | rgb(255 64 64) | |
| HSL | hsl(0 100% 62.55%) | |
| OKLCH | oklch(0.66 0.23 26.03) | |
| CMYK | cmyk(0% 74.9% 74.9% 0%) | |
| Android | #ffff4040 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.46:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.05: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="#ff4040"
Gradient stop
<stop stop-color="#ff4040"/>
CSS variable + fill
:root { --c: #ff4040; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ff4040; background-color: #ff4040; bg-[#ff4040]