#ff5074
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 | #ff5074 | |
| RGB | rgb(255 80 116) | |
| HSL | hsl(347.66 100% 65.69%) | |
| OKLCH | oklch(0.68 0.21 12.76) | |
| CMYK | cmyk(0% 68.63% 54.51% 0%) | |
| Android | #ffff5074 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.15:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.65: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="#ff5074"
Gradient stop
<stop stop-color="#ff5074"/>
CSS variable + fill
:root { --c: #ff5074; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ff5074; background-color: #ff5074; bg-[#ff5074]