Skip to content
Vectorlight.net

#f142a8

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

HEX
#f142a8
RGB
241, 66, 168
HSL
325.03°, 86.21%, 60.2%
OKLCH
0.66 0.23 349.47
Names
—
Lists

Codes

FormatValue
HEX#f142a8
RGBrgb(241 66 168)
HSLhsl(325.03 86.21% 60.2%)
OKLCHoklch(0.66 0.23 349.47)
CMYKcmyk(0% 72.61% 30.29% 5.49%)
Android#fff142a8

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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