Skip to content
Vectorlight.net

#f12781

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

HEX
#f12781
RGB
241, 39, 129
HSL
333.27°, 87.83%, 54.9%
OKLCH
0.63 0.24 1.12
Names
—
Lists

Codes

FormatValue
HEX#f12781
RGBrgb(241 39 129)
HSLhsl(333.27 87.83% 54.9%)
OKLCHoklch(0.63 0.24 1.12)
CMYKcmyk(0% 83.82% 46.47% 5.49%)
Android#fff12781

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
3.92:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.34: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="#f12781"
Gradient stop
<stop stop-color="#f12781"/>
CSS variable + fill
:root { --c: #f12781; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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