Skip to content
Vectorlight.net

#f12a47

Codes, contrast, shades, harmonies and SVG snippets for this color.

HEX
#f12a47
RGB
241, 42, 71
HSL
351.26°, 87.67%, 55.49%
OKLCH
0.62 0.23 20.51
Names
—
Lists

Codes

FormatValue
HEX#f12a47
RGBrgb(241 42 71)
HSLhsl(351.26 87.67% 55.49%)
OKLCHoklch(0.62 0.23 20.51)
CMYKcmyk(0% 82.57% 70.54% 5.49%)
Android#fff12a47

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

Open in contrast checker

Shades & tints

OKLCH lightness, mixed toward white then black.

Open in shades & tints

Harmonies

Complementary

Analogous

Triadic

Open in palette generator

Color-blindness

Normal
Protanopia
Deuteranopia
Tritanopia

Open simulator

SVG snippets

fill
fill="#f12a47"
Gradient stop
<stop stop-color="#f12a47"/>
CSS variable + fill
:root { --c: #f12a47; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #f12a47;
background-color: #f12a47;
bg-[#f12a47]