#f12756
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 | #f12756 | |
| RGB | rgb(241 39 86) | |
| HSL | hsl(346.04 87.83% 54.9%) | |
| OKLCH | oklch(0.62 0.23 15.69) | |
| CMYK | cmyk(0% 83.82% 64.32% 5.49%) | |
| Android | #fff12756 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.06:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.16: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="#f12756"
Gradient stop
<stop stop-color="#f12756"/>
CSS variable + fill
:root { --c: #f12756; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f12756; background-color: #f12756; bg-[#f12756]